Re: [Ssh-sftp-perl-users] Can you Help me ?
Brought to you by:
dbrobins
From: Matthew J. S. <vag...@ya...> - 2006-05-20 19:27:38
|
input must be 8 bytes long... I usually solve that by using encode. use Encode; ... Encode::from_to($cmd,'utf8','iso-8859-1'); my($out, $err, $exit) = $ssh->cmd("ls", "-l") ... --- Tuan-DNS1 <ta...@vn...> wrote: > Hi, I am working in VietNam Network Information > Center (VNNIC). I setup my Looking Glass Server , > with "telnet method access" everythings is ok, I > received information from my router.But with " ssh > method access" , my Web logs server have mistakes : > > > [Thu May 18 16:45:05 2006] [error] [client > 203.119.9.89] input must be 8 > bytes long at > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Crypt/DES.pm > line > 57., referer: http://lg.vnnic.net.vn/ > > > When I "debug ip ssh" on the router ( my router : > c2600, images: > "flash:c2600-entservicesk9-mz.123-14.T7.bin" ) > It have mistakes : > 4w3d: %SEC-6-IPACCESSLOGP: list 101 permitted tcp > 203.119.10.132(32805) -> > 0.0.0.0(22), 1 packet > 4w3d: SSH1: sent protocol version id > SSH-1.5-Cisco-1.25 > 4w3d: SSH1: protocol version id is - SSH-1.5-1.30 > 4w3d: %SSH-5-SSH_SESSION: SSH Session request from > 203.119.10.132 (tty = 1) > using crypto cipher '3DES' Succeeded > 4w3d: %SSH-5-SSH_USERAUTH: User '' authentication > for SSH Session from > 203.119.10.132 (tty = 1) using crypto cipher '3DES' > Failed > 4w3d: %SSH-5-SSH_CLOSE: SSH Session from > 203.119.10.132 (tty = 1) for user > '' using crypto cipher '3DES' closed > 4w3d: SSH1: Session disconnected - error 0x07 > > I don't know the syntax in file "lg.conf" for ssh > method accesss. > In the "lg.conf" I configured : > For telnet session is : " <Router > Name="ROUTER-CUCTANSO"> > > <URL>telnet://tuan:password@192.168.10.9</URL> > </Router> > What is the ssh session configure? Can you help me > slove my proplem ? > Thanks ! > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |