06-05-2009
Fickle ssh connection with OpenSSH on FreeBSD 7.0
I have a FreeBSD server on my home network. It is hooked to the router with an Ethernet cable. Both the server and the router are in the basement. The other computers in the house are upstairs, wireless. So the server's local IP address is set outside the wireless pool, and suppose it's 192.168.10.2. My internet connection comes with a dynamic IP address. I got around that with ddclient and dyndns.com, and suppose the server url is myserver.homeunix.net.
Here's what's wrong with this setup: for no rhyme or reason, sometimes I can log into the server with
ssh
gabi@myserver.homeunix.net
and other times I cannot. Instead, I can only do
ssh gabi@192.168.10.2
Does anybody have any idea why this might be?
Thank you,
Gabi
9 More Discussions You Might Find Interesting
1. Cybersecurity
I'm not sure if this is appropriate for the forum, but I figured it was security related, so here goes...
I'm writing an anlaysis for my group about moving some of the old internet protocols (rsh, rlogin, etc...) to the SSH suite of tools. An outside security group recommended a commercial... (7 Replies)
Discussion started by: jalburger
7 Replies
2. UNIX for Dummies Questions & Answers
I am using OpenSSH on my sun servers.
There is another suite of sun servers attempting to SSH into my machines.
I am running ssh -vv:
OpenSSH_4.4p1, OpenSSL 0.9.8d 28 Sep 2006
the other guy is running the sun version of ssh (i don't know what/if any differences there are between... (7 Replies)
Discussion started by: EWTGPAC
7 Replies
3. Solaris
I set the RETRIES and DISABLETIME in /etc/default/login on 2 systems:
- 1 Solaris 9 system running Sun SSH
- 1 Solaris 9 system running Openssh 5.2 P1
I expected that after n failed logins, the login process will hang for n seconds.
It does when the attempted login is done at the console... (8 Replies)
Discussion started by: jabentay
8 Replies
4. IP Networking
hi all.
am running postgresql in a vm on debian server.
i have some client programs connecting to the db.
when i check the logs of postgresql i see "connection reset by peer"
can someone help me with this issue...
thanks. (1 Reply)
Discussion started by: coolatt
1 Replies
5. Solaris
hi All,
We tried to establish a connection from OpenSSH3.8.1 running on Windows Box to SunSSH-1.1 running on Solaris 10. Please see the debug statements.
C:\Documents and Settings\sadmin\.ssh>ssh sadmin@10.4.3.8 -v -v -v
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading... (2 Replies)
Discussion started by: venusunil
2 Replies
6. UNIX for Advanced & Expert Users
Hi all,
I have a Solaris 10 server with SUN_SSH_1.1 installed.
I want to restrict a user via SFTP to only be able to access one directory. I've written a little script in .profile which works perfectly for an ssh login but it appears sftp doesn't read the .profile file so it doesn't work.
... (2 Replies)
Discussion started by: Donkey25
2 Replies
7. UNIX for Advanced & Expert Users
Hi everybody,
I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop.
I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
8. Red Hat
There was a security analysis run on one server which has RHEL 5.8 installed and it is showing security vulnerabilities with respect to ssh in OpenSSH with reference no CVE-2007-4752. The vulnerability solution in the security report is showing solution as below:
1) Download and apply the... (3 Replies)
Discussion started by: RHCE
3 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not...
I have .sh script like below and i have servers.txt contains all the list of servers
#/bin/bash
for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies
LEARN ABOUT DEBIAN
essidscan
ESSIDSCAN(8) Commands ESSIDSCAN(8)
NAME
essidscan - scan for ESSID corresponding to available WLAN access points
SYNOPSIS
In /etc/network/interfaces:
mapping <interface> script essidscan
DESCRIPTION
The essidscan utility is used to tell the ifup and ifdown utilities about the current SSID of the WLAN currently being accessed. It can be
used to map the SSID name to an iface stanza.
CONFIGURATION
A sample /etc/network/interfaces may look like this:
mapping hotplug
script /etc/network/essidscan
map SSIDONE wlan-work
map SSIDTWO wlan-work
map HOME
iface wlan-work inet dhcp
wireless-key 1234-5678-9ABC-DEF0-1234-5678-9A
wireless-keymode restricted
iface HOME inet static
address 192.168.2.4
netmask 255.255.255.0
gateway 192.168.2.1
wireless-essid HOME
wireless-key s:somepassword
wireless-keymode open
iface DEFAULT inet dhcp
FILES
/etc/network/interfaces
the interfaces definition file
/etc/network/run/ifstate
a record of the current state of the interfaces, managed by ifup and ifdown
SEE ALSO
interfaces(5) ifscheme(8) ifup(8) ifdown(8)
AUTHORS
Tor Slettnes <tor@slett.net>
ESSIDSCAN(8)