The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
can't connect to 1 website Bobafart UNIX for Dummies Questions & Answers 1 06-01-2007 06:17 PM
Connect From VB to Sybase 11 Than Chanroeun SUN Solaris 2 08-18-2006 08:42 AM
connect to as-400 system ZINGARO Shell Programming and Scripting 0 08-16-2006 09:41 AM
cant connect Combat Form UNIX for Dummies Questions & Answers 6 05-01-2004 06:06 PM
Cannot connect to my ISP coolteach UNIX for Dummies Questions & Answers 8 09-26-2001 03:56 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2008
Registered User
 

Join Date: Jan 2008
Posts: 25
SSH not able to connect - Need help

Hi,

I am trying to connect to server using SSH command -

ssh -l <username>@<server> 22

But it just hangs there.. Any suggestions to connect via SSH will be of great help!
Reply With Quote
Forum Sponsor
  #2  
Old 01-12-2008
Registered User
 

Join Date: Jan 2008
Location: Chicago, IL, USA
Posts: 1
Quote:
Originally Posted by Sathy153 View Post
Hi,

I am trying to connect to server using SSH command -

ssh -l <username>@<server> 22

But it just hangs there.. Any suggestions to connect via SSH will be of great help!
try this syntax:

ssh -l {username} server

The default sshd runs on port 22.

Another thing to try is this:

ssh -v -l {username} server - use 2 v's for even more info.

This will tell you exactly what is going on with the connection.

Hope this helps,

Mike
Reply With Quote
  #3  
Old 01-14-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
"ssh -l <username>@<server> 22" is incorrect syntax, most simple is "ssh user@host"
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0