User avatar
grumpyoldgit
Posts: 1454
Joined: Thu Jan 05, 2012 12:20 pm

Re: Debian SSH

Postby grumpyoldgit » Wed May 09, 2012 2:01 pm

I have the latest Debian image 29-04-2012

I have used

sudo service ssh start

to start ssh on my pi.

On my Lubuntu PC

ssh 192.168.1.12

which is the IP address of the Pi

It then asks for a password, which I give as raspberry but is rejected as incorrect.

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

Re: Debian SSH

Postby Joe Schmoe » Wed May 09, 2012 2:08 pm

What user are you running as on the Lubuntu machine?
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)
Steady_Bear
Posts: 110
Joined: Sat Jan 14, 2012 12:06 pm

Re: Debian SSH

Postby Steady_Bear » Wed May 09, 2012 2:13 pm

ssh pi@IP.address

Assuming pi is the username. Else the desktop machine will try ssh'ing using the username that you are logged in with to run ssh.

'man ssh' will tell you more.
User avatar
grumpyoldgit
Posts: 1454
Joined: Thu Jan 05, 2012 12:20 pm

Re: Debian SSH

Postby grumpyoldgit » Wed May 09, 2012 2:18 pm

Ahhhhh!     I was looking for something complicated. It's always a good idea to have a firm understanding of the basics. All my PCs have the same id and password so the problem has never cropped up before.

Thanks.
jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 17452
Joined: Sat Jul 30, 2011 7:41 pm

Re: Debian SSH

Postby jamesh » Wed May 09, 2012 4:19 pm

That one always catches me out as well. Eventually it will be firmly drummed in. I hope.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.
User avatar
grumpyoldgit
Posts: 1454
Joined: Thu Jan 05, 2012 12:20 pm

Re: Debian SSH

Postby grumpyoldgit » Wed May 09, 2012 4:28 pm

Or dummed in, in my case!

Having got a Pi now I realize I only half read all those postings. I really should have made notes as I went along.
bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Debian SSH

Postby bredman » Wed May 09, 2012 5:06 pm

Grumpyoldgit said:


Having got a Pi now I realize I only half read all those postings. I really should have made notes as I went along.


Don't worry, this forum has a fantastic search facility.
error404
Posts: 351
Joined: Wed Dec 21, 2011 11:49 pm

Re: Debian SSH

Postby error404 » Wed May 09, 2012 6:32 pm

If you want to, you can change the default user name, among other settings (and set per-host defaults, if you like) in .ssh/config. Very handy if you're connecting to the same machines all the time.
jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 17452
Joined: Sat Jul 30, 2011 7:41 pm

Re: Debian SSH

Postby jamesh » Wed May 09, 2012 8:08 pm

Grumpyoldgit said:


Or dummed in, in my case!

Having got a Pi now I realize I only half read all those postings. I really should have made notes as I went along.


I have a large hardback notebook in which I note everything down. Very useful. Always referring back.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.
Steady_Bear
Posts: 110
Joined: Sat Jan 14, 2012 12:06 pm

Re: Debian SSH

Postby Steady_Bear » Wed May 09, 2012 10:23 pm

JamesH said:


That one always catches me out as well. Eventually it will be firmly drummed in. I hope.



I'm always caught out by stuff just refusing to run under X, including window managers. Nearly always during or straight after an update.

I'm getting it down to under 5 minutes of flapping before I check the filesystem's state of play (I run it tight to encourage me to remove software I don't use anymore - it works too). 10/10 times I've run out of space!

Taking notes from all these posts will surely just lead to a book that's too hard to search ;p