Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: SSH leaving terminal confused issue

by wulvrine (Friar)
on Apr 24, 2007 at 15:51 UTC ( [id://611765]=note: print w/replies, xml ) Need Help??


in reply to SSH leaving terminal confused issue

Moron Thanks for the thought! I think that presumes I am already on the remote system to check for that file. No?

sgifford GREAT! That worked like a charm and dropped the need for me to even have to deal with the forking situation. Thank you VERY much !!

s&&VALKYRIE &&& print $_^q|!4 =+;' *|
  • Comment on Re: SSH leaving terminal confused issue

Replies are listed 'Best First'.
Re^2: SSH leaving terminal confused issue
by Moron (Curate) on Apr 24, 2007 at 16:37 UTC
    OIC
    use File::Remote; { my $secure = new File::Remote (rsh => "/usr/local/bin/ssh", rcp => "/usr/local/bin/scp" ); $secure -> open( \*SSHID, "$host:~$user/.ssh/identity") ? ( $secure -> close( \*SSHID ) || die($!) ) : die "access denied\n"; }
    updated for clarity and to heed a warning about filehandle syntax of open in File::Remote
    __________________________________________________________________________________

    ^M Free your mind!

      Why did you change without notice? It changed just after I upvoted on it. For a very slight moment, I though that my voting somehome changed it.

      Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

        I added an explanation now, sorry about that.
        __________________________________________________________________________________

        ^M Free your mind!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://611765]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found