  | |  | SSH question | SSH question 2005-05-13 - By Michael Velez
Back
> -- --Original Message-- -- > From: redhat-list-bounces@(protected) > [mailto:redhat-list-bounces@(protected)] On Behalf Of Steve Buehler > Sent: Friday, May 13, 2005 1:04 PM > To: redhat-list@(protected) > Subject: SSH question > > I have a client with a RHEL ES 4 box and a client of > theirs has a windows > 2003 server box. We can't get IPSec to work between the two > networks. So now we are trying to work out a different way > for their RHEL box to access their windows box. The tech on > the other side installed openssh for windows on the windows > server. He says that you can't use a public key with the > windows version like you can with the linux version and we > will always have to enter a password to do the ssh tunnel. > Is there a way to run the ssh command so that it can start up > when the system starts and connect to the remote machine > putting in the password automatically when asked for it? I > know this isn't as secure, but we are running out of options > trying to get the two servers to talk to each other. They > have java programs on the RHEL box that need to connect > securely to MSSql on the windows box. > > Thanks > Steve > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list >
I have both a Linux machine and several Windows XP machines on my home network. In order to have automated scripts work, I run ssh without a password from one machine to the other (Linux to Windows and Windows to Linux) from within my secure network, no problem.
I also do ssh tunneling without a password to get java apps on windows to talk to my Oracle database on Linux and it works fine. Granted, I do the tunneling from Windows to Linux; however, I would be surprised that the opposite cannot be done.
I have installed Cygwin (www.cygwin.com) and their ssh onto all my windows XP machines.
It may be for security reasons that an ssh public key needs to have a password at their site? Or has the client's client properly configured ssh?
If you still want to use your workaround, I believe the 'expect' command should work for you. I use it to telnet to my modem to automatically get my external IP address. However, I'm not necessarily a proponent of including a password into a script file.
Michael
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |