×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Ssh-login without bothering passphrase

    Revision as of 13:39, 12 April 2005 by imported>Hundfred
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    just kwick n dirty:

    if you want to get rid of that bothering passphrase while connecting via ssh to host, just append your ~/.ssh/id_rsa.pub on your local machine at the file ~/.ssh/authorized_keys at the target host.

    scp ~/.ssh/id_rsa.pub <user>@<host>:/<home>/<user>/.ssh
    
    then log into the target machine, and enter
    cat ~/.ssh/id_rsa.pub >> ~/ssh/authorized_keys'''
    

    even faster: there if you start the program ssh-agent it will provide some scripts that do things like this for you:

    ssh-copy-id -i ~/.ssh/id_rsa.pub <user>@<host>
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.