sorry - hope this question is not tooo silly, but i needed to "autologin" to a remote machine found out that this works fine for me: sftp -opassword=PASSWORD USER at 192.168.1.1 << EOF cd ANYDIRECTORY get ANYFILE bye EOF why isn't this (sftp -opassword=SECRET USER at 192.168.1.1), setting the password with -opassword=PASSWORD, documentated anywhere? bug or feature? kind regards tomas Mediaindustrie GmbH Marketing - Tomas Rendel tomas.rendel at mdnd.com http://www.mediaindustrie.com Friedingerstrasse 26 D-82229 Seefeld fon: +49 (0)8152 993 991 fax: +49 (0)8152 993 999
Tomas Rendel wrote:> sorry - hope this question is not tooo silly, > > but i needed to "autologin" to a remote machine > found out that this works fine for me: > > sftp -opassword=PASSWORD USER at 192.168.1.1 << EOFThis "feature" isn't in the OpenSSH that we release. What OS and version of OpenSSH are you using? -d
On Tue, 9 Nov 2004, Tomas Rendel wrote:> sorry - hope this question is not tooo silly, > > but i needed to "autologin" to a remote machine > found out that this works fine for me: > > sftp -opassword=PASSWORD USER at 192.168.1.1 << EOF > cd ANYDIRECTORY > get ANYFILE > bye > EOF > > why isn't this (sftp -opassword=SECRET USER at 192.168.1.1), > setting the password with -opassword=PASSWORD, documentated > anywhere? > bug or feature?Because it isn't a valid option? Why would one document something that doesn't exist? I suspect if it works on your machine it means that someone has modified your source code. Either your upstream distro or your company. Because it isn't a valid option with OpenSSH baseline code. - Ben