Skip to contentSkip to conversation

SSH connecting at the wrong port?

DISCUSSION Darryl On Linux 4 participants 4 messages Jul 30, 2003 – Jul 31, 2003

lore
Share & tools
lore
#0 lore raw

I connected from work to my server using ssh (ssh2, once), using Putty. However I see that the ssh ports I connect to aren't 22, what's going on here?

P.S. Servernames, IP's and dates, changed, ports and other information not changed.

Jul 29 14:14:56 Servername sshd[30302]: Accepted password for me from 1.1.1.1 
port 56182 ssh2
Jul 29 14:20:11 Servername sshd[30638]: Accepted password for me from 1.1.1.1 
port 62144
Jul 29 14:20:56 Servername sshd[30693]: Accepted password for me from 1.1.1.1 
port 62687
Jul 29 15:48:47 Servername sshd[3051]: Accepted password for me from 1.1.1.1 
port 50979
Jul 29 15:49:05 Servername sshd[3079]: Accepted password for me from 1.1.1.1 

port 51287

#1 lore raw
Quoted 9 lines · Darryl On Linux

I connected from work to my server using ssh (ssh2, once), using Putty. However I see that the ssh ports I connect to aren't 22, what's going on here?

P.S. Servernames, IP's and dates, changed, ports and other information not changed.

Jul 29 14:14:56 Servername sshd[30302]: Accepted password for me from 1.1.1.1

port 56182 ssh2

Random source port on the other side. It's still connecting to your server on port 22.

Mike

#2 lore raw
In reply to Darryl On Linux

That's the local port that is opened on the client, er, your work computer.

Quoted 23 lines · On Wed, 30 Jul 2003 18:10:07 -0400 Darryl On Linux <[email protected]>…

I connected from work to my server using ssh (ssh2, once), using Putty. However I see that the ssh ports I connect to aren't 22, what's going on here?

P.S. Servernames, IP's and dates, changed, ports and other information not changed.

Jul 29 14:14:56 Servername sshd[30302]: Accepted password for me from 1.1.1.1 
port 56182 ssh2
Jul 29 14:20:11 Servername sshd[30638]: Accepted password for me from 1.1.1.1 
port 62144
Jul 29 14:20:56 Servername sshd[30693]: Accepted password for me from 1.1.1.1 
port 62687
Jul 29 15:48:47 Servername sshd[3051]: Accepted password for me from 1.1.1.1 
port 50979
Jul 29 15:49:05 Servername sshd[3079]: Accepted password for me from 1.1.1.1 

port 51287

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Darryl On Linux

try
ssh -v -v x.x.x.x

----- Original Message -----
From: "Darryl On Linux" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 30, 2003 6:10 PM
Subject: SSH connecting at the wrong port?

Quoted 5 lines

I connected from work to my server using ssh (ssh2, once), using Putty. However I see that the ssh ports I connect to aren't 22, what's going on here?

P.S. Servernames, IP's and dates, changed, ports and other information

not

Quoted 3 lines

changed.

Jul 29 14:14:56 Servername sshd[30302]: Accepted password for me from

1.1.1.1

Quoted 2 lines

port 56182 ssh2

Jul 29 14:20:11 Servername sshd[30638]: Accepted password for me from

1.1.1.1

Quoted 2 lines

port 62144

Jul 29 14:20:56 Servername sshd[30693]: Accepted password for me from

1.1.1.1

Quoted 2 lines

port 62687

Jul 29 15:48:47 Servername sshd[3051]: Accepted password for me from

1.1.1.1

Quoted 2 lines

port 50979

Jul 29 15:49:05 Servername sshd[3079]: Accepted password for me from

1.1.1.1

Quoted 7 lines

port 51287

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html