Announcement

Collapse
No announcement yet.

Remote auto login

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Remote auto login

    I have searched around for the answer to this but found only hints.
    I would like to run a program from Windows which will auto login to my Ubuntu server and run a script stored on that server.
    I use PuTTy to connect to the server at present and am able to make up the script as required but need suggestions as to what software I can use!

    Thanks in advance!

    #2
    Re: Remote auto login

    I can't speak for putty because I don't use windows, but if you are doing just pure SSH you can do something like this:

    Code:
    ssh -f user@host ls
    i.e. Just append the command you want to run to the end of the ssh command.

    I assume Putty has some place to put the command you want executed after a successful connection. Check the connection config in Putty.

    Note, if you don't want to be prompted for a password, you'll need SSH passwordless logins setup. This appears to be a pretty good how to to get passwordless login working with putty: http://www.blindhog.net/linux-ssh-pa...in-with-putty/

    Comment

    Working...
    X