Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SSH using Mac OSX terminal

So I'm new at using a mac laptop when configuring a Cisco switch.  The command used:

ssh switch.work.com - l username

I'm then prompted for password but it's not accepting my credentials.  I've tested this using putty on my Windows machine and I know they work.  Is there an alternative program to Putty, preferably freeware?  Or am I doing something wrong.  Please know I'm new to macs, so bare with me.

1 ACCEPTED SOLUTION

Accepted Solutions

SSH using Mac OSX terminal

You could try to put it in " " or escape the symbol:

"$username@host"

OR

\$username@host

OR

"\$username@host"

I'm not sure if any of these will work though...

HTH, John *** Please rate all useful posts ***
11 REPLIES
New Member

Re: SSH using Mac OSX terminal

Hi,

maybe you could try


ssh username@switch.work.com

Sure that your Putty is using SSH?

regards,

Dirk

regards, Dirk (Please rate if helpful)
New Member

SSH using Mac OSX terminal

Tried that no luck.  Yes using SSH at port 22

New Member

Re: SSH using Mac OSX terminal

Mhh,...

which version von SSH are you using? Either Putty and MAC.

did you try:

debug ip ssh

show ssh

Maybe this can solve your problem

http://www.cisco.com/en/US/tech/tk583/tk617/technologies_tech_note09186a00800949e2.shtml

regards,

Dirk

regards, Dirk (Please rate if helpful)
New Member

SSH using Mac OSX terminal

So I'm running ssh 2.0 and also noticed when I logged in using putty I was prompted to allow the rsa fingerprint.  Does the Mac not ask for this?

New Member

Re: SSH using Mac OSX terminal

what version of mac OS are you on? not all versions come with a built in ssh that negotiates version very well.

you can force a particular ssh version from the mac using

ssh -1 username@hostname

ssh -2 username@hostname

Cheers,

Mike

New Member

SSH using Mac OSX terminal

Apple OSX 10.6.8 and the commands above didn't do anything either.

New Member

Re: SSH using Mac OSX terminal

Can you paste your config? Starting

!

line vty 0 ...

Dirk

Sent from Cisco Technical Support iPhone App

regards, Dirk (Please rate if helpful)
New Member

SSH using Mac OSX terminal

ok,

Figured it out and hoping there's a workaround.  My account has a symbol in front of it such as #username or $username. 

SSH using Mac OSX terminal

You could try to put it in " " or escape the symbol:

"$username@host"

OR

\$username@host

OR

"\$username@host"

I'm not sure if any of these will work though...

HTH, John *** Please rate all useful posts ***
New Member

SSH using Mac OSX terminal

This did it.  Thanks everyone

\$username@host

SSH using Mac OSX terminal

Awesome Thanks for the rating!

HTH, John *** Please rate all useful posts ***
7903
Views
0
Helpful
11
Replies
CreatePlease login to create content