ssh / scp / batch mode - Networking

This is a discussion on ssh / scp / batch mode - Networking ; hi all, i am confused in ssh i want to login without password (batch mode) userA@client connecting to userB@server i obtained ok the conection: - creating the key-pair in client with ssh-keygen -t rsa1 (NO passphrase) - appending client public ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: ssh / scp / batch mode

  1. ssh / scp / batch mode


    hi all,

    i am confused in ssh

    i want to login without password (batch mode)

    userA@client connecting to userB@server

    i obtained ok the conection:

    - creating the key-pair in client with
    ssh-keygen -t rsa1 (NO passphrase)

    - appending client public key to server

    cat identity.pub (userA@client) >> authorized_keys (userB@server)

    BUT with other pair client/server i need to work with dsa, for example

    - creating the key-pair in client with
    ssh-keygen -t dsa (NO passphrase)

    - appending client public key to server

    cat id_dsa.pub (userA@client) >> authorized_keys2 (userB@server)

    I THINK (???) that also may be found:

    - creating the key-pair in client with
    ssh-keygen -t rsa (NO passphrase)

    - appending client public key to server

    cat id_rsa.pub (userA@client) >> authorized_keys2 (userB@server)

    i would appreciate any comments and/or reference about which host,
    parameter, configuration, .... define the standard used by client/
    server (RSA1, RSA, DSA)

    tks in advance


  2. Re: ssh / scp / batch mode

    rh00667 wrote:
    > hi all,
    >
    > i am confused in ssh
    >
    > i want to login without password (batch mode)
    >
    > userA@client connecting to userB@server
    >
    > i obtained ok the conection:
    >
    > - creating the key-pair in client with
    > ssh-keygen -t rsa1 (NO passphrase)
    >
    > - appending client public key to server
    >
    > cat identity.pub (userA@client) >> authorized_keys (userB@server)
    >
    > BUT with other pair client/server i need to work with dsa, for example


    Other? The Actions above should be enough for you to login.

    >
    > i would appreciate any comments and/or reference about which host,
    > parameter, configuration, .... define the standard used by client/
    > server (RSA1, RSA, DSA)


    The Standard is simply described as the default-value, because most
    people don't care to change it (including me)

    Greets,
    Matthias

  3. Re: ssh / scp / batch mode

    > Other? The Actions above should be enough for you to login.

    > The Standard is simply described as the default-value, because most
    > people don't care to change it (including me)


    tks for your comments. i was looking all man pages and doing
    tests, insolating actions. i feel better now, and i think i'm
    understanding ... :-)

    in userB@server:
    - append identity.pub to authorized_keys for RSA ver 1 and/or
    - append id_rsa.pub and/or id_dsa.pub to authorized_keys2 for RSA and/
    or DSA ver 2

    default: /etc/ssh/sshd_config

    in userA@client:
    - the protocol (RSA v1, RSA v2, DSA v2) used is defined by (with
    priority)
    1. cmd line
    2. $HOME/.ssh/config
    3. /etc/ssh/ssh_config

    so, playing with these combinations, i obtained successful tests ...

    again, tks a lot!


+ Reply to Thread