-
Notifications
You must be signed in to change notification settings - Fork 223
Login
krimdomu edited this page Jan 28, 2011
·
1 revision
There are 2 options to authenticate against a remote system. We recommend Key Auth.
If you want to use password authentication you can provide the username and password this way:
# explicit enable password authentication
pass_auth;
user "myuser";
password "mypassword";
Key Authentication is the preferred way.
user "myuser";
private_key "/Users/your-user/.ssh/id_rsa";
public_key "/Users/you-user/.ssh/id_rsa.pub";
If your private and public key are at the default location ($HOME/.ssh/id_rsa and $HOME/.ssh/id_rsa.pub) you only need to set user.