Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Multihomed Configuration |
|---|---|
| Date: | Wed, 6 Jun 2007 22:32:37 +0530 |
Hi Folks,
I am using version openssh-4.6p1 in solaris server.
Consider my solaris PC is configured as multihomed with two NIC.
e69001% ifconfig -a
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 172.23.87.109 netmask ffffff00 broadcast 172.23.87.255
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.2.133 netmask ffffff00 broadcast 192.168.2.255
I mean my PC has two IP address. By making use of ListenAddress in
sshd_config file, i can able to listen ssh/ sftp request from both IP
addresses.
e69001# grep "ListenAddress" sshd_config
#ListenAddress 0.0.0.0
#ListenAddress ::
ListenAddress 172.23.87.109
ListenAddress 192.168.2.133
If we do sftp to both the IP address from different machine, it will
pointout the same default root directory.
From machine1:
tballraker7# ./sftp svplus@192.168.2.133 Connecting to 192.168.2.133... svplus@192.168.2.133's password: sftp> pwd Remote working directory: /usr/users/svplus sftp > quit
From machine2:
cwmsent51# ./sftp svplus@172.23.87.109 Connecting to 172.23.87.109... svplus@172.23.87.109's password: sftp> pwd Remote working directory: /usr/users/svplus sftp > quit Here, the default directory will be defined based on the login username. But, Is it possible to assign/ configure different default directory for each IP address with same login username? Rgds Nirmal
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: OpenSSH strange behaviour, Wilson, Richard E |
|---|---|
| Next by Date: | Re: SSH tunnel question., Leif Ericksen |
| Previous by Thread: | Re: SSH tunnel question., Ventsislav Genchev |
| Next by Thread: | Re: Multihomed Configuration, Dallas Clement |
| Indexes: | [Date] [Thread] [Top] [All Lists] |