RE: Query on Open SSH (SFTP Server: Multihomed)



Hi Patrick,

Thanks a lot for your quick response.

I have added multiple IP address in the sshd_config (using ListenAddress option) and able to do ssh operation with virtual IP. I have one more question.

Can we assign default path for individual virtual IP address?

I will explain my requirement in detail.

I have one login called sshtest. I have simulated 4 virtual IP address like 192.168.58.1 to 192.168.58.4. I will use sshtest login for 4 Ipaddress. But my requirement is, while logging 192.168.58.1 the default login path should be different one comparing to other IP address default login path.

Example:

#sftp sshtest@xxxxxxxxxxxx
Sftp>pwd
/1

#sftp sshtest@xxxxxxxxxxxx
Sftp>pwd
/2

Can we assign default path for individual virtual IP address?

Thanks
Nirmal

-----Original Message-----
From: Patrick Morris [mailto:trick@xxxxxxxxxx]
Sent: Friday, May 11, 2007 11:04 PM
To: Nirmal Babu Puliyadi Suriya Kumar -X (npuliyad - HCL at Cisco)
Cc: secureshell@xxxxxxxxxxxxxxxxx
Subject: Re: Query on Open SSH (SFTP Server: Multihomed)

On Fri, 11 May 2007, Nirmal Babu Puliyadi Suriya Kumar -X (npuliyad - HCL at Cisco) wrote:


Hi,

Open source ftp server wu-ftp provides multihomed option to simulate virtual IP. Solaris default ftp server won't provide this option.

Similarly can any one please let me know Open SSH (SFTP server) will support multihomed option? If yes, please let me know what configuration I have to do.
 
I have installed OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 version in my Solaris box.
 
It will be very useful in my performance testing.

You can run multiple instances of SSH bound to different IPs. Just use
the "-f" flag to specify a separate config file for each.