≡ Menu


You can login to a remote Linux server without entering password in 3 simple steps using ssky-keygen and ssh-copy-id as explained in this article. ssh-keygen creates the public and private keys. ssh-copy-id copies the local-host's public key to the remote-host's authorized_keys file. ssh-copy-id also assigns proper permission to the remote-host's home, ~/.ssh, and ~/.ssh/authorized_keys. This [...]


In our previous articles, we discussed how to setup ssh key based authentication to perform ssh and scp without password under the following three scenarios: OpenSSH to OpenSSH OpenSSH to SSH2 SSH2 to SSH2 In this article, I'll explain how to perform ssh and scp from SSH2 (local-host) to OpenSSH (remote-host) with no password. In [...]


SSH Key based authentication setup from openSSH to SSH2

The previous articles (openSSH to openSSH setup, SSH2 to SSH2 setup) explains about how to setup key based authentication on the same version of ssh to perform ssh and scp without entering password. This article explains how to setup SSH key based authentication between different version of SSH (from openSSH to SSH2) to perform ssh [...]


Howto resolve Algorithm negotiation failed issue on SSH

 While performing ssh from a local-host to a remote-host that are on different versions of ssh, it is possible that you may get "Algorithm negotiation failed" message.  In this post, I'll explain how to resolve this issue from the ssh client.  1. Unable to ssh to remote-host: In this example, when trying to perform ssh [...]


I explained previously how to Perform SSH and SCP without entering password on openSSH. In this article, I'll explain how to setup the key based authentication on SSH2 and perform SSH/SCP without entering password using the following 10 steps. 1. Verify that the local-host and remote-host are running SSH2. Please note that ssh and scp [...]


5 Basic Linux SSH Client Commands

Let us review the following 5 basic command line usage of the ssh client. Identify SSH client version Login to remote host Transfer Files to/from remote host Debug SSH client connection SSH escape character usage: (Toggle SSH session, SSH session statistics etc.) Sometimes it may be necessary to identify the SSH client that you are [...]