09-23-2009
SSH droping connections over a VPN
Hello friends,
I'm connection to an external network using a VPN configured over an Ubuntu.
The problem is that whenever I get connected to a remote computer using my VPN as router, after a while, sometimes short, sometimes long, sometimes immediately, the connection gets lost and I've to reconnect to the remote computer.
I've checked the ssh configuration on the machine running the VPN and I think the error is not coming from that way, I'm guessing the VPN somehow fails and drops the connection, I don't think this is a networking issue either because I can be connected using another vpn program like Cisco's and the connection won't fail
Any information on how could I check where the SSH connection fails would be appreciated. also, if anyone has been in a similar situation and has information I might find useful would ve very welcome.
Thanks in advance
8 More Discussions You Might Find Interesting
1. BSD
just as the title says.
thanks.
#General Rule Sets
/sbin/ipfw add 0300 check-state
/sbin/ipfw add 0301 deny tcp from any to any in established
/sbin/ipfw add 0302 pass tcp from any to any out setup keep-state
/sbin/ipfw add 0303 pass udp from any to any out
#SSH FTP
/sbin/ipfw add 0400... (11 Replies)
Discussion started by: dwildgoose
11 Replies
2. AIX
I'm investigating an issue where rsync's to an AIX server will sometimes fail. I suspect the problem might be due to the number of simultaneous SSH connections being made to the host dropping the rsync attempts. I'd like to view the number of open ssh connections. The who command will list logged... (1 Reply)
Discussion started by: indiana_tas
1 Replies
3. UNIX for Advanced & Expert Users
Hello,
What is the best way to disallow new ssh connections for the duration of my session ?
I want to evade read/write collisions. Things work like that - one session put files on server, other copies these files and then deletes them. So in order to evade collision:
- I check if there are... (1 Reply)
Discussion started by: vilius
1 Replies
4. UNIX for Advanced & Expert Users
We have RSA SecureID softtoken key generator on my Windows machine.
It generates new keys every 1 minute.
Any HPUX server (be it ServerD or ServerP) requires my ID and the randomly generated RSA SecureID softtoken key from my Windows to login.
I login to ServerD.
Then I run a script... (0 Replies)
Discussion started by: mohtashims
0 Replies
5. UNIX for Dummies Questions & Answers
Hello All,
I want to test how much parallel ssh connections can be done on a server.
I am thinking of reading username and hostname from a file and then using a loop (may be for) to do ssh on different host.
Could anyone suggest me how can i write the script for the above.
Thank you in... (0 Replies)
Discussion started by: ABHIKORIA
0 Replies
6. IP Networking
Guys,
Can I use an open RDP port to gain ssh access to my Linux server running the other side of our firewall?
I work from home on the odd occasion, we only have RDP port 3389 available once logged into the VPN. I would rather ssh into my workstation without the need for a desktop display.
... (3 Replies)
Discussion started by: general_lee
3 Replies
7. Solaris
Hi,
Sorry if this question has been asked before, however, I have tried looking in the forum (and google in general) and I haven't found an answer, so I thought I'd ask here.
I am trying to use a GUI application in Solaris 10. Normally I connect with a VPN then SSH and use Xming to... (2 Replies)
Discussion started by: John_sp
2 Replies
8. UNIX for Beginners Questions & Answers
Hello Forum,
I'm using a bit of code from a script I found that allows me to capture the status code of connecting via SSH to remote servers:
ssh -qno StrictHostKeyChecking=no -o ConnectTimeout=1 user@$InputIP 'ls -l /home/user >/dev/null 2>&1' > /dev/null 2>&1
status="$(echo $?)"
echo... (4 Replies)
Discussion started by: greavette
4 Replies
LEARN ABOUT SUSE
networkmanager
NETWORKMANAGER(8) System Manager's Manual NETWORKMANAGER(8)
NAME
NetworkManager - network management daemon
SYNOPSIS
NetworkManager [--no-daemon]
DESCRIPTION
The NetworkManager daemon attempts to make networking configuration and operation as painless and automatic as possible by managing the
primary network connection and other network interfaces, like Ethernet, WiFi, and Mobile Broadband devices. NetworkManager will connect
any network device when a connection for that device becomes available, unless that behavior is disabled. Information about networking is
exported via a D-Bus interface to any interested application, providing a rich API with which to inspect and control network settings and
operation.
NetworkManager will execute scripts in the /etc/NetworkManager/dispatcher.d
directory in alphabetical order in response to network events. Each script should be (a) a regular file, (b) owned by root, (c) not
writable by group or other, (d) not set-uid, (e) and executable by the owner. Each script receives two arguments, the first being
the interface name of the device just activated, and second an action.
up The interface has been activated. The environment contains more information about the interface; CONNECTION_UUID contains the UUID
of the connection. Other variables are IP4_ADDRESS_N where N is a number from 0 to (# IPv4 addresses - 1), in the format
"address/prefix gateway". IP4_NUM_ADDRESSES contains the number addresses the script may expect. IP4_NAMESERVERS contains a space-
separated list of the DNS servers, and IP4_DOMAINS contains a space-separated list of the search domains. Routes use the format
IP4_ROUTE_N where N is a number from 0 to (# IPv4 routes - 1), in the format "address/prefix next-hop metric", and IP4_NUM_ROUTES
contains the number of routes to expect. If the connection used DHCP for address configuration, the received DHCP configuration is
passed in the environment using standard DHCP option names, prefixed with "DHCP4_", like "DHCP4_HOST_NAME=foobar".
down The interface has been deactivated.
vpn-up A VPN connection has been activated. The environment contains the connection UUID in the variable CONNECTION_UUID.
vpn-down
A VPN connection has been deactivated.
hostname
The system hostname has been updated. Use gethostname(2) to retrieve it.
OPTIONS
The following options are supported:
--no-daemon
Do not daemonize. This is useful for debugging, and directs log output to the controlling terminal in addition to syslog.
DEBUGGING
The following environment variables are supported to help debugging. When used in conjunction with the "--no-daemon" option (thus echoing
PPP and DHCP helper output to stdout) these can quickly help pinpoint the source of connection issues.
NM_SERIAL_DEBUG
When set to anything, causes NetworkManager to log all serial communication to and from serial devices like mobile broadband 3G
modems.
NM_PPP_DEBUG
When set to anything, causes NetworkManager to turn on PPP debugging in pppd, which logs all PPP and PPTP frames and client/server
exchanges.
SEE ALSO
nm-tool(1)
NETWORKMANAGER(8)