Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Using IO::Socket to login to a server

by redhotpenguin (Deacon)
on Feb 01, 2008 at 05:43 UTC ( [id://665519]=note: print w/replies, xml ) Need Help??


in reply to Using IO::Socket to login to a server

"it must first login"

What do you mean by this? Does it need to open an ssh connection?

  • Comment on Re: Using IO::Socket to login to a server

Replies are listed 'Best First'.
Re^2: Using IO::Socket to login to a server
by deadpickle (Pilgrim) on Feb 01, 2008 at 13:50 UTC
    The chat client will first have to connect to the academic server and establish a connection with that server before it can login to the chat server (which is running on the academic server).
    I tried using "use Net::SSH::Perl" and adding this code line to connect to the server using ssh:
    sub server { my $ssh = Net::SSH::Perl->new($host); $ssh->login('uas'); &init_connect; }
    and got this error in the terminal:
    *** unhandled exception in callback: *** The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Perl.pm line 110. *** ignoring at C:\Documents and Settings\Jamie\Desktop\simple-client.pl line 7 0.
    a password should not be needed since its using a authentication key. I should also note that the chat client connects to the chat server using IO::Socket::INET.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found