plink problem

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

plink problem

Post by alex.barylski »

I have the following command:

Code: Select all

plink.exe -pw mypasswd hockey@192.168.1.103 grep --recursive -n '// TODO:' /var/www/proggie/*
It worked beautifully at extracting TODO comments from my entire source tree...then yesterday I re-installed both my development computer and my server.

Whenever I try the following now, plink seems to want to ask who I want to login as, yet I have supplied those details on the CLI...

Why would this happen?

I've successfully logged in via SSH with both my IDE and WinSCP so I know that server is working...

I'm thinking maybe the keys that are cached somehow don't reflect that what I'm passing in at the command line and thus causing me to login again??? How can I flush those cached keys and maybe login through plink first?

Any other reasons?

The syntax worked fine just two days ago before re-installing...

Cheers :)
Post Reply