I have an Ubuntu Server 9.10 box with
sshd configured. I have two computers with Windows 7 professional and putty installed. Day ago, both computers was able to connect ubuntu server both via putty and plink. I have installed
sun-java6-jre on ubuntu server, and now have a weird problem. First Windows 7 computer can still connect with both putty GUI and command-line
plink. Second computer can connect via putty gui, but if i issue
plink command that works perfectly on first computer:
plink www.hostname.tk -i c:\users\username\documents\key\private.ppk
login prompt, enter same username as on first computer, and receive following weird error message:
bash: www.hostname.tk: command not found
I can't see any difference between my Windows 7 computers :(. The
ppk key used is same (i copied it multiple times both ways).
username are same. Anyone have any ideas why such thing happens and what can i do in order to troubleshoot and fix it?
plink -v disaplys:
Offered public key Offer of public key accepted Authenticating with public key "imported-openssh-key" Access granted Opened channel for session Started a shell/command bash: www.hostname.tk: command not found Server sent command exit status 127 Disconnected: All channels closed