Linker IT Software
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
setting up a secure ssh connection (Read 2613 times)
Gerrit-Jan Linker
YaBB Administrator

Posts: 75
setting up a secure ssh connection
03.03.10 at 15:59:33
setting up a secure ssh connection
To setup a secure SSH connection between two computers you can save the RSA public key on the target system. This removes the need to continually login on the remote host.
First on the source system generate the private and public RSA keys using the ssh-keygen command. This will generate the public and private RSA keys. The private key should be kept in the .shh folder in the user's home folder.
ssh-keygen -t rsa
Note that on some systems -t rsa does not seem to work. Just use ssh-keygen.
On the target machine add the public RSA key to the file authorized_keys file in the .ssh directory. If the file is not there, create a new file. Copying of this key file is quite prone to errors. I suggest you copy the public key file and then append it (e.g. using cat) to the authorized_keys file.
Now a connection can be established from source to target without supplying a password.
Back to top
« Last Edit: 20.11.10 at 09:57:26 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1