Weird problem with connection from putty to ubuntu server via SSH
- by Eye of Hell
Hello.
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
I get 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). hostname and username are same. Anyone have any ideas why such thing happens and what can i do in order to troubleshoot and fix it?