Then try again your ssh command (or any other command that spawns ssh daemons, like autossh for example) that returned 255. Is there a way to specify the password in the ssh command itself? I was also following these instructions and was quite confused as well.
So i need to log in to a machine using a password instead of a key, which i practically never do Ssh user@ip and then it prompts for a password Seems it should be easy but nope, ssh refuses to use anything but a key
When you connect to an ssh server, you identify yourself to the server (using either your login and password, or a key), and the server identifies itself to you, using its host key This is typically transparent, but it is important Known host keys are stored in ~/.ssh/known_hosts, and ssh verifies server host keys against those. Host github.com hostname ssh.github.com port 443 finally, i found this article which solved and exposed the real problem
If you run ssh and display is not set, it means ssh is not forwarding the x11 connection Note that the server won't reply either way, a security precaution of hiding details from potential attackers. In terminal enter this command with your ssh file name pbcopy < ~/.ssh/id_rsa.pub this will copy the file to your clipboard now open you github account go to settings > ssh and gpg keys > new ssh key enter title and paste the key from clipboard and save it. However, i would be creating a bash script from server 1 that will execute some commands on server 2 via ssh
From the terminal i type