Re: error: bind: Address already in use
- From: ddunham@xxxxxxxx (Darren Dunham)
- Date: Thu, 23 Aug 2007 16:45:03 GMT
Doesnt Compute <doesntcompute2k@xxxxxxxxx> wrote:
I checked that. Moved from (old) HP SSHD to current version and
wanted to make sure the old was dead and gone.
It (or something like it) is still there. That's why port 22 is still
The issue it seems is related to the desktop application (Genaro
Desktop Client program) having issues specifying a port or trying too.
Putty works fine, Genaro using part of the callable putty routines has
Hmm? Putty is a client. You're asking about sshd (a server). I don't
understand the connection.
In case anyone knows of some magic to get rid of this...I'm checking
out all info I can get on this desktop app and trying to work that
Four lines of (extra, useless) logging every time someone logs in is
not going to "kill us," but sure is annoying. LOL
What lines are you talking about, the "Address already in use"? Why is
something trying to start an sshd process every time someone logs in?
# netstat -n | grep "\.22" | tr -s ' ' | tr ' ' ','
# lsof -i:22
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 1090 root 3u IPv4 0x6e69e640 0t0 TCP *:ssh (LISTEN)
There you go. PID 1090 is a running sshd, listening on port 22. You
can't run another sshd and listen on the same port or you'll get the
"address already in use" message, and the launched server will exit.
# ps -fp1090 | tr -s ' '
UID PID PPID C STIME TTY TIME CMD
root 1090 1 0.0 Aug 21 ?? 0:04.24 /usr/local/sbin/sshd -4 -f /usr/
Same process. That's what you were trying to run, but presumably it's
already running. Only one can listen to a port at a time.
Darren Dunham ddunham@xxxxxxxx
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
- Prev by Date: ssh and forced password changes
- Next by Date: Re: error: bind: Address already in use
- Previous by thread: Re: error: bind: Address already in use
- Next by thread: Re: error: bind: Address already in use