[Site Home] [Forum Home] [Articles] [File DB] [News Archives]

Software and Hardware -> SSH with IPv6


(View original topic)


Red Squirrel - Jul-26-2004 server time
Glad you found it, and welcome to the forum. I'm a linux noob so figured I would not attempt to help in case I make you screw up something. laugh.gif

pamekala - Jul-26-2004 server time
I found the solution
I installed a Site-local address and it is working perfectly
ifocnfig eth1 add fec0::1/64
blink.gif

pamekala - Jul-24-2004 server time
Hi
i just started configuring a small network at home with IPv6.
Basically, only 3 computers with linux kernel 2.6.7 , the process of
enabling the kernel to IPv6 was easy. The next step was to test the new network,
some simple commands like ping6 and tcpdump verified that the network works.
The next step i tried is to make the sshd to run through the IPv6 address. Although i thought that
everything was undercontrol i was mistaken.
1. I configured the /etc/ssh/sshd_config file
Port 22
ListenAddress ::

2. Then i went to the sshd auto startup service script and added the -6
/etc/rc.d/init.d/sshd

#########################
######old lines#############
#########################
SSHD=/usr/sbin/sshd
....
....
start()
{
do_rsa1_keygen
do_rsa_keygen
do_dsa_keygen

echo -n $"Starting $prog:"
initlog -c "$SSHD $OPTIONS" && success || failure
RETVAL=$?
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/sshd
echo
}
###################



#########################
######new lines#############
#########################
SSHD=/usr/sbin/sshd
....
....
start()
{
do_rsa1_keygen
do_rsa_keygen
do_dsa_keygen

echo -n $"Starting $prog:"
initlog -c "$SSHD -6 $OPTIONS" && success || failure
RETVAL=$?
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/sshd
echo
}
###################

3. Then i restarted the service and tried to connect
service sshd stop
service sshd start

ssh -6 <my local link IPv6 address>
erro msg: ssh: connect to host <my IPv6 address> port 22: Invalid argument

4. i tried to see if it was listening.
netstat -A inet6 -ln | grep 22
tcp 0 0 :::22 :::* LISTEN

Any ideas?
Thanks

(Showing 50 last posts, newest on top)