Jump to content

Script to automate a process that requires authentication?


Lost In Cyberia

Recommended Posts

Hey everyone... I'm just stretching my wings a bit and seeing how things work. If I wanted to write a script that had me ssh to my remote computer, how can this be done? If the script runs without me, how can I enter the required password? the same is true for any time of authentication method like scp file transferring... There must be a way via script around this?

Link to comment
Share on other sites

If your SSH has certs in place, there is no need to type a password and you can just call ssh directly.

You can also give ttyrec a shot: http://0xcc.net/ttyrec/index.html.en

http://hak5.org/episodes/haktip-56

Here is another one found via Google: http://linux.die.net/man/1/script

I am pretty sure Darren used another one besides ttyrec, but I can't remember the other one. If you see this Darren, refresh my memory :D.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...