Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
SSH question

SSH question

2005-05-13       - By Michael Velez

 Back
Reply:     1     2     3     4     5  



> -- --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.