fig
Posts: 19
Joined: Sun Nov 03, 2013 5:14 pm

ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 10:02 am

Which files need configuring so I can ssh directly from my laptop(linux os) into a raspberry pi(rasbian os) using a ethernet cable.
Thanks

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 10:52 am

Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 11:09 am

fig wrote:Which files need configuring so I can ssh directly from my laptop(linux os) into a raspberry pi(rasbian os) using a ethernet cable.
Thanks
Out of the box, none.

fig
Posts: 19
Joined: Sun Nov 03, 2013 5:14 pm

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 11:20 am

What I mean is not using a router or switch, so laptop > cable > raspberrypi.
Thanks

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 11:22 am

Edit /boot/cmdline.txt add ip=169.254.3.14 to the end of the single line in that file (don't break the line). Boot your RPi with that and with it wired to your laptop (simple straight cable, no X-over needed). Use putty to connect to 169.254.3.14.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 11:26 am

fig wrote:What I mean is not using a router or switch, so laptop > cable > raspberrypi.
Thanks
You mean like this http://www.raspberrypi.org/forums/viewt ... 29&t=77959 ??
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

fig
Posts: 19
Joined: Sun Nov 03, 2013 5:14 pm

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 12:45 pm

@DougieLawson
Thanks, will try it out later on today.

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 1:41 pm

fig wrote:What I mean is not using a router or switch, so laptop > cable > raspberrypi.
Thanks
It always helps to say what you mean. :)

fig
Posts: 19
Joined: Sun Nov 03, 2013 5:14 pm

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 3:40 pm

@DougieLawson
Thanks, will try it out later on today.
Works like a charm.

fig
Posts: 19
Joined: Sun Nov 03, 2013 5:14 pm

Re: ssh directly from my laptop into a raspberry pi

Mon Jul 28, 2014 3:42 pm

fig wrote:
What I mean is not using a router or switch, so laptop > cable > raspberrypi.
Thanks
It always helps to say what you mean. :)
Yep it does but sometimes with computers 2+2=5
Thanks anyway for your help

Return to “Advanced users”