Exploring ssh between Vector Linux and Ubuntu
ssh server: Ubuntu
ssh client: Vector linux
Configure IP address on Ubuntu
# ifconfig eth0 172.16.0.2 netmask 255.255.0.0 broadcast 172.16.255.255 up
Configure IP address on Vector
Go to /etc/rc.d
vi rc.inet1
Change the IP address as required
Quit and save
Restart the network interface
/etc/rc.d/./rc.inet1 restart
Verify it
ifconfig eth0
Check that both hosts can ping to each other
Check sshd running on Ubuntu
root@ismail-laptop:/etc# ps -ef|grep sshd
root 3457 1 0 14:22 ? 00:00:00 /usr/sbin/sshd
root 8430 7360 0 14:57 pts/1 00:00:00 grep sshd
Now ssh from Vector to Ubuntu
#ssh 172.16.0.2
After providing the password you should be able to ssh to Ubuntu SSH server.
Note:
In case you are unable to ssh into the Vector Linux ssh server, you can also try tostop the firewall service like this:
root:# cd /etc/rc.d
vector://etc/rc.d
root:# ./rc.firewall stop
Loading kernel modules …
error: “net.ipv4.tcp_syncookies” is an unknown key
net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.log_martians = 1
Flushing Tables …
Firewall completely flushed! Now running with no firewall.
Then try to ssh again. You should be able to ssh to the remote host.
thank you vary much helped a lot
By: nate on May 21, 2010
at 3:35 am
Hi nate,
I am glad that such article has helped you. You may also want to bookmark this new site http://www.isaraffee.wordpress.com.
I have import all articles to this new site.
Happy reading!
regards,
Isa Raffee
By: isaraffee on June 28, 2010
at 12:04 am