cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
29015
Views
0
Helpful
11
Replies

SSH using Mac OSX terminal

jmgutierrezjr
Level 1
Level 1

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

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 ***

View solution in original post

11 Replies 11

Dirk Woellhaf
Level 1
Level 1

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)

Tried that no luck.  Yes using SSH at port 22

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)

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?

matwood
Level 1
Level 1

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

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

Dirk Woellhaf
Level 1
Level 1

Can you paste your config? Starting

!

line vty 0 ...

Dirk

Sent from Cisco Technical Support iPhone App

regards, Dirk (Please rate if helpful)

jmgutierrezjr
Level 1
Level 1

ok,

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

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 ***

This did it.  Thanks everyone

\$username@host

Awesome Thanks for the rating!

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card