Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Ssh keys

33 bytes added, 13:02, 24 January 2008
m
use displaytitle; use source tag
{{wrongtitle|ssh keysDISPLAYTITLE:proc/user_beancounters}} OpenSSH has several authentication mechanismmechanisms. The most known one is then you type in the password, which is then checked against the password at the remote system. While this is straightforward and does not usually require any additional setup, it is not convenient to enter the password each time.
This article describes how to set up a passwordless ssh login, using ssh key pairs. This can be convenient e. g. in cases when you use [[Checkpointing and live migration|live migration]].
The following script can be used to automate a process of generating ssh key pairs and putting the public keys to an account on a remote host. Place the script to <code>/usr/local/bin</code> or your <code>~/bin</code> and enable its execution (i.&nbsp;e. do <code>chmod a+x ssh-keyput</code>).
<presource lang="bash">
#!/bin/bash
#
done
done
</presource
[[Category: HOWTO]]