how do I log in with password with ssh - Unix

This is a discussion on how do I log in with password with ssh - Unix ; I have a machine that I am a regular user call it john I want to log in to a remote machine by the user name jane how do I log in via ssh with no password on the remote ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: how do I log in with password with ssh

  1. how do I log in with password with ssh

    I have a machine that I am a regular user call it john

    I want to log in to a remote machine by the user name jane

    how do I log in via ssh with no password on the remote machine with ssh by
    using the public key ssh?



  2. Re: how do I log in with password with ssh

    "nobody" writes:

    > how do I log in via ssh with no password on the remote machine with ssh by
    > using the public key ssh?


    Try searching for "ssh without password tutorial" on Google.
    --
    Thorbjørn Ravn Andersen

  3. Re: how do I log in with password with ssh

    > how do I log in via ssh with no password on the remote machine with ssh by
    > using the public key ssh?


    Using key-based authentication. In short you simply grab your public key from
    ~/.ssh and place it into the "~/.ssh/authorized_keys" file on the other server.
    Do make sure that the server itself allows for keybased authentication (this
    can be checked using the main config file).


    --
    ..\\ PGP/GPG key: http://www.catslair.org/pubkey.asc


  4. Re: how do I log in with password with ssh

    I tried that,

    on the machine I am on, i generated key with

    ssh-keygen -t rsa

    copied the id_pub.rsa key to the remote machine in /home/jane/.ssh

    then created authorized_keys file from the id_pub.rsa in /home/jane/.ssh


    from my own machine I do ssh -l jane remotemachine

    still prompts for janes password



    "Lion-O" wrote in message
    news:slrnfjc8ql.7kc.nosp@ubuntu.intranet.lan...
    >> how do I log in via ssh with no password on the remote machine with ssh
    >> by
    >> using the public key ssh?

    >
    > Using key-based authentication. In short you simply grab your public key
    > from
    > ~/.ssh and place it into the "~/.ssh/authorized_keys" file on the other
    > server.
    > Do make sure that the server itself allows for keybased authentication
    > (this
    > can be checked using the main config file).
    >
    >
    > --
    > .\\ PGP/GPG key: http://www.catslair.org/pubkey.asc
    >




+ Reply to Thread