jrraines
Posts: 14
Joined: Sat Jul 14, 2012 4:18 pm

noob ssh question

Sat Jul 21, 2012 5:38 pm

I am new to ssh. I connected my raspberry pi to a monitor and an apple keyboard and wheezy works but the Apple keyboard was very spotty, dropping almost as many keystrokes as it read. It didn't seem to work at all when a mouse was plugged in, too. I don't have a powered USB hub on hand and my goal in the near term was to try to use it in a headless mode, so moving to that promptly seemed like the thing to do. I did use the menu to enable ssh. I plugged the rpi into a router and I THINK its assigned address is 192.168.1.146. I did not change the password yet. The keyboard was so spotty that without echo I'd have had no idea what had been assigned.

on my Mac, in terminal, I tried:
Macintosh-4:~ raine001$ ssh 192.168.1.146
The authenticity of host '192.168.1.146 (192.168.1.146)' can't be established.
RSA key fingerprint is a8:28:b6:8d:ce:23:f8:fc:cc:96:54:83:fd:ea:f4:38.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '192.168.1.146' (RSA) to the list of known hosts.
raine001@192.168.1.146's password:
Permission denied, please try again.
raine001@192.168.1.146's password:
Permission denied, please try again.
raine001@192.168.1.146's password:
Permission denied (publickey,password).
Macintosh-4:~ raine001$ ssh 192.168.1.140
ssh: connect to host 192.168.1.140 port 22: Connection refused
Macintosh-4:~ raine001$ ssh 192.168.1.148
^Z
[1]+ Stopped ssh 192.168.1.148
Macintosh-4:~ raine001$ ssh 192.168.1.146
raine001@192.168.1.146's password:
Permission denied, please try again.
raine001@192.168.1.146's password:
I've tried 'raspberry' and 'pi@raspberry' as passwords. I'm not sure what to do, what to read, how to look for more info at this point.

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: noob ssh question

Sat Jul 21, 2012 5:39 pm

You want to ssh in as the pi user, so ssh -lpi 192.168.1.146

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: noob ssh question

Sat Jul 21, 2012 5:43 pm

asb wrote:You want to ssh in as the pi user, so ssh -lpi 192.168.1.146
More simply: pi@192.168....

I used to use -l, but once I found that the @ syntax works just as well, I stopped using -l.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

jrraines
Posts: 14
Joined: Sat Jul 14, 2012 4:18 pm

Re: noob ssh question

Sat Jul 21, 2012 5:59 pm

thanks!

W. H. Heydt
Posts: 12430
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: noob ssh question

Sun Jul 22, 2012 6:51 am

Or...you can download PuTTY (I'm taking a shot in the dark assumption that there's a Mac version...) and
use that. When you connect, you'll get a normal login prompt.

User avatar
Jim JKla
Posts: 2218
Joined: Sun Jan 29, 2012 11:15 pm
Location: Newcastle upon Tyne UK

Re: noob ssh question

Sun Jul 22, 2012 6:54 am

Theres some usefull info in the wiki about ssh for noob users over on the wiki.
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek ;)

If you find a solution please post it in the wiki the forum dies too quick

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: noob ssh question

Sun Jul 22, 2012 6:45 pm

Jim JKla wrote:Theres some usefull info in the wiki about ssh for noob users over on the wiki.
When referring users to the wiki, some noob users don't know how to navigate/search the wiki (there are a LOT of pages on there!) so it's generally a good idea to provide direct links to the specific pages, if possible. (I haven't provided any links here either, but that's because I wasn't sure which page you were referring to)

B4GG
Posts: 1
Joined: Wed Aug 01, 2012 5:17 am

Re: noob ssh question

Wed Aug 01, 2012 5:18 am

Both here " http://elinux.org/RPi_Beginners " and here " http://elinux.org/RPi_Remote_Access " are useful starts to shh with the pi... also a noob here, but a quick search led me there!

Return to “Beginners”