Dear friends,
I am facing a connectivity issue while trying to connect to a remote machine "k5", although the machine seems connected. Please see the messages I receive after
ping k5:-
[root@NAN ~]# ping k5
PING k5.palmod.uni-bremen.de (134.102.241.195) 56(84) bytes of data.
64 bytes from k5.palmod.uni-bremen.de (134.102.241.195): icmp_seq=1 ttl=63 time=171 ms
64 bytes from k5.palmod.uni-bremen.de (134.102.241.195): icmp_seq=2 ttl=63 time=171 ms
64 bytes from k5.palmod.uni-bremen.de (134.102.241.195): icmp_seq=3 ttl=63 time=171 ms
^C
--- k5.palmod.uni-bremen.de ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3063ms
rtt min/avg/max/mdev = 171.325/171.416/171.527/0.083 ms
2. Connectivity details for k5 is defined in
/etc/hosts :
134.102.241.195 k5.palmod.uni-bremen.de k5
3. I have installed
openvpn and could successfully start it.
I get following messages in
/var/log/messages :
Jun 10 09:59:56 NAN kernel: tun: Universal TUN/TAP device driver, 1.6
Jun 10 09:59:56 NAN kernel: tun: (C) 1999-2004 Max Krasnyansky <
maxk@qualcomm.com>
Jun 10 09:59:56 NAN openvpn[4531]: OpenVPN 2.3.2 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Sep 12 2013
Jun 10 10:00:00 NAN openvpn[4531]: WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Jun 10 10:00:03 NAN openvpn[4531]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Jun 10 10:00:03 NAN openvpn[4535]: UDPv4 link local (bound): [undef]
Jun 10 10:00:03 NAN openvpn[4535]: UDPv4 link remote: [AF_INET]134.102.241.18:1194
Jun 10 10:00:08 NAN openvpn[4535]: [iceage.palmod] Peer Connection Initiated with [AF_INET]134.102.241.18:1194
Jun 10 10:00:10 NAN openvpn[4535]: Options error: route parameter network/IP 'gateway' must be a valid address
Jun 10 10:00:10 NAN kernel: tun0: Disabled Privacy Extensions
Jun 10 10:00:10 NAN openvpn[4535]: TUN/TAP device tun0 opened
Jun 10 10:00:10 NAN openvpn[4535]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Jun 10 10:00:10 NAN openvpn[4535]: /sbin/ip link set dev tun0 up mtu 1500
Jun 10 10:00:10 NAN openvpn[4535]: /sbin/ip addr add dev tun0 local 192.168.201.22 peer 192.168.201.21
Jun 10 10:00:10 NAN openvpn[4535]: Initialization Sequence Completed
4. Here is the
/sbin/ifconfig message:-
[Nilima@NAN ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr E8:40:F2:F2:51:A0
inet addr:192.168.1.41 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ea40:f2ff:fef2:51a0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49010 errors:0 dropped:0 overruns:0 frame:0
TX packets:16109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32498145 (30.9 MiB) TX bytes:2709527 (2.5 MiB)
Interrupt:34 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3196 (3.1 KiB) TX bytes:3196 (3.1 KiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.201.22 P-t-P:192.168.201.21 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:12384 (12.0 KiB) TX bytes:11164 (10.9 KiB)
wlan0 Link encap:Ethernet HWaddr 44:6D:57:3B:6E:68
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
5.
ping k5 shows that the machine is connected but does not allow me to access it!
[Nilima@NAN ~]$ ssh k5
Nilima@k5's password:
Permission denied, please try again.
Nilima@k5's password:
Permission denied, please try again.
Nilima@k5's password:
Permission denied (publickey,gssapi-with-mic,password).
The password is correct.
Please help me with your expertise to help me connect to the remote machine!
Many thanks for your help and time.
with regards,
Nilima