Differences between revisions 1 and 2
Revision 1 as of 2006-05-30 05:24:33
Size: 709
Editor: rowlf
Comment:
Revision 2 as of 2006-05-30 05:25:38
Size: 752
Editor: rowlf
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:

mv .ssh/id_dsa.pub .ssh/authorized_keys

Creating a SSH tunnel without a password. Based on the [http://robin.crecom.com.au/knowledge/linux/vpn%20setup.htm Link VPN Setup] guide in the knowledge database.

Generate the ssh key

Assuming a vpn users has been created:

$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/vpn/.ssh/id_dsa):
Created directory '/home/vpn/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/vpn/.ssh/id_dsa.
Your public key has been saved in /home/vpn/.ssh/id_dsa.pub.
The key fingerprint is:
04:b0:6f:ff:2e:13:73:fb:aa:f1:d0:ee:3f:02:aa:b2 vpn@localhost.localdomain

mv .ssh/id_dsa.pub .ssh/authorized_keys

SSHTunnel (last edited 2013-09-18 06:09:33 by localhost)