Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

SSH Language

Tue Jan 20, 2015 6:56 pm

Hi,

I would like to control my Pi through a Macbook using SSH. Is the programming language Python or something else?

thanks

ripat
Posts: 191
Joined: Tue Jul 31, 2012 11:51 am
Location: Belgium

Re: SSH Language

Tue Jan 20, 2015 7:11 pm

Engine44 wrote:I would like to control my Pi through a Macbook using SSH. Is the programming language Python or something else?
No, ssh is a communication protocol that permits a secured connection between a ssh aware computer and your Pi. Just open a terminal session on your Macbook and type:

Code: Select all

ssh your_user_name_on_the_Pi@Pi_ip_address

# Example
ssh raspberry@192.168.0.123
Using Linux command line usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

Re: SSH Language

Tue Jan 20, 2015 7:22 pm

Engine44 wrote:Hi,

I would like to control my Pi through a Macbook using SSH. Is the programming language Python or something else?

thanks
Yes, but after the link is established commands are issued. Is that done in the Python language? Thanks,

Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

Re: SSH Language

Tue Jan 20, 2015 7:34 pm

Cancel comment
Last edited by Engine44 on Tue Jan 20, 2015 7:42 pm, edited 1 time in total.

ripat
Posts: 191
Joined: Tue Jul 31, 2012 11:51 am
Location: Belgium

Re: SSH Language

Tue Jan 20, 2015 7:36 pm

Engine44 wrote:Yes, but after the link is established commands are issued. Is that done in the Python language? Thanks,
No that's bash style shell (environment). You can issue linux commands directly. Not python instructions.

Crash course:
http://cli.learncodethehardway.org/book/
Using Linux command line usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Engine44
Posts: 82
Joined: Fri Dec 19, 2014 9:27 pm
Location: Netherlands

Re: SSH Language

Tue Jan 20, 2015 7:40 pm

ripat wrote:
Engine44 wrote:Yes, but after the link is established commands are issued. Is that done in the Python language? Thanks,
No that's bash style shell (environment). You can issue linux commands directly. Not python instructions.

Crash course:
http://cli.learncodethehardway.org/book/
Thanks, I think that's what I was looking for.

Return to “Beginners”