Remote Login using shell script



Hi,

I am Doing Automation of a test suite.

In That i want to login into another machine as a root (i
know username and password) using shell script(I am using Korne shell)
and i have to copy one file from that machine to my local machine..

First of all, let me know is it possible to do that remote
login using shell script.. If so how to do that..

Advance thanks to u.

bye.

.



Relevant Pages

  • Re: "No Shell"
    ... There is simply no need to login as root - ever, ... > you don't have to guard(and spread) root's password anymore. ... And change the shell or whatever it s/he just well damn ... Other than that nothing else should depend on root shell, ...
    (comp.unix.admin)
  • [opensuse] Re: Opensuse still not ready for consumers...
    ... Having a login shell doesn't mean it's possible to log in. ... or to use su to become that user without being root to begin with. ... Typically the vendor access is also set up to sudo to root ...
    (SuSE)
  • Re: unable to logon after updating ports collection - Freebsd 7.1 stable
    ... I can't login with my useraccount and even not logon as ... set a new root password; ... Might I add the tempting and tendancy to change root's shell to a non-base shell. ...
    (freebsd-questions)
  • Re: no root login after changing shell
    ... no root login after changing shell ... partition I think you will also need to mount this for vi and such... ...
    (freebsd-questions)
  • Re: New and Strange output at f9 root login
    ... upon login to my f9 system as root. ... The numbers on the right change with each login. ... background if $PS1 is not set. ... but I suppose it depends on the shell being used ...
    (Fedora)