Share this on (or read 9 comments/add one below):

9 comment

  1. When I try to Authenticate via SSH using a Script , I get

    The script is the same :

    Pseudo-terminal will not be allocated because stdin
    is not a terminal.

    I tried using -t and -T switch both on and off.

    Suggest if you have any better Ideas

    Many Thanks
    Sriram

  2. @ krishna kumar
    @ Nilesh

    PHP isn’t necessary — you can generate public/private keys per user/host you wish to connect to and avoid passwords altogether, allowing you to fully automate your ssh connections.

    Google ‘ssh without password’ and you’ll find plenty of tutorials on this process.

  3. I want to know by Ssh command by logging to another server I am trying to run a program that contains a special character “$” and it’s giving error ….. Any advice for this

  4. Hey I want to setup my centos machine like whenever any local user connect my pc through ssh the entry is added in any file so can see who used my machine.

    So how can i seup this???

  5. Hi,

    i want to use ssh for file transfer. along with ssh command i want to use set of aommands in same session.
    e.g. ssh HOSTNAME command

    following command to be executed in one go
    cd dir
    ssh_get *
    exit

    is there any way I can do this?

Leave a Comment