Lines 7-14
Link Here
|
7 |
Only sftp access using public key authentication works. To easily |
7 |
Only sftp access using public key authentication works. To easily |
8 |
setup public key authentication to "remote_host": |
8 |
setup public key authentication to "remote_host": |
9 |
|
9 |
|
10 |
ssh-keygen -t dsa |
10 |
ssh-keygen |
11 |
cat ~/.ssh/id_dsa.pub | ssh remote_host "cat >> .ssh/authorized_keys" |
11 |
cat ~/.ssh/id_rsa.pub | ssh remote_host "cat >> .ssh/authorized_keys" |
12 |
|
12 |
|
13 |
The SSH server on remote_host must allow pub key authentication. |
13 |
The SSH server on remote_host must allow pub key authentication. |
14 |
|
14 |
|