how to ssh to another box passing a password and do remote commands to the remote ?
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: how to ssh to another box passing a password and do remote commands to the remote ?

  1. #1
    Join Date
    Mar 2007
    Posts
    48

    how to ssh to another box passing a password and do remote commands to the remote ?

    I need to set up a cron job to ssh, scp to another host and copy files then rename files after. I know it can be done but I need some quick tip. SA is out on vacation. I am bit lost :(

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333
    just write the commands in a script and run it

  3. #3
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,003
    Where I work we have a handful of Oracle database server running Unix. We have public/private key authentication setup between all of the servers, including my Linux box. So to log on all I need to do is type ssh myhost at a prompt and I am connected without typing a password, I can also use scp to copy files accross nodes and use ssh to run commands on other nodes all without typing a password.
    this space intentionally left blank

  4. #4
    Join Date
    Mar 2007
    Posts
    48
    Thanks, I found a document and learned how to do it now.

  5. #5
    Join Date
    Mar 2007
    Posts
    48
    thanks, I found a document and learned how to do it now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width