Re: error using putty command line options
From: Morten Christensen (mc@slet.mig.mc.cx)Date: 10/27/02
- Next message: Eitan Herman: "SSH/openssh with certificate PKCS #12"
- Previous message: : "Re: compiling openssh 3.5p1 on SuSE 8.1 -- ./configure fails"
- In reply to: Jon Larsen: "error using putty command line options"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 27 Oct 2002 11:58:27 +0100 From: Morten Christensen <mc@slet.mig.mc.cx>
Jon Larsen wrote in mail, at 24-10-02 21:57:
> I'm using putty release 0.53 on Windows 2000 Professional. I have been
> trying to implement an automated log on and execution of a remote command
> using the -pw and -m command line options. I've tried accessing a Solaris
> 5.8 server and a Windows 2000 server running openssh. But everytime I add
> either option to the command line, I get an error message saying "invalid
> port number". I've tried adding the -P option to the command line and
> specifying the port number, but that doesn't change the result. I've been
> able to get this syntax to work so far:
>
> putty -ssh -v user_name@host_ip_address
>
> But putty -ssh -v -pw password user_name@host_ip_address gives me the error.
>
> Anyone had success with this? Thanks.
Never tried it but:
PuTTY can read the portnumber after the ip-adress only
seperated by a space "user@111.222.111.222 2345"
I would use Plink instead of PuTTY for your project.
I think, Plink is more designed for this action.
-- mvh Morten Christensen
- Next message: Eitan Herman: "SSH/openssh with certificate PKCS #12"
- Previous message: : "Re: compiling openssh 3.5p1 on SuSE 8.1 -- ./configure fails"
- In reply to: Jon Larsen: "error using putty command line options"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|