+ 1

SSH

I am looking to learn SSH commands. Which language should I learn?

28th Apr 2018, 11:49 AM
Hashim T Abubacker
Hashim T Abubacker - avatar
9 odpowiedzi
+ 2
Hashim T Abubacker PHP is probably ok to start out with.
12th May 2018, 3:08 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 3
What do you mean by SSH commands. SSH is simply a protocol used to interface with remote computers. I'm assuming you're using SSH to log into a computer. I'm not sure what OS the computer is so I can't say what language would help the best. If you're using Linux, Bash is a must.
2nd May 2018, 12:40 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
Guddu Kumar I think he's talking about SSHing into a computer and running system commands like on Linux. But I could be wrong because it's hard to understand what he's asking.
2nd May 2018, 1:58 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Guddu Kumar Why would PHP be helpful? We don't have any information on what he's trying to do. PHP has nothing to do with SSH and is a web development language.
2nd May 2018, 12:41 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Ben Allen, First of all sorry for the late reply I was little busy with my exams. I was into google cloud computing platform there I hosted a Wordpress website using bitnami launcher. It had commanding operation in SSH. I am a beginner in programming so I was not much aware about SSH and things like this. So which is the best option learning PHP or any other thing before I get my hands on PHP.?
12th May 2018, 8:19 AM
Hashim T Abubacker
Hashim T Abubacker - avatar
0
php
28th Apr 2018, 1:38 PM
Ayush Bious Raj
Ayush Bious Raj - avatar
0
Thanks
28th Apr 2018, 2:26 PM
Hashim T Abubacker
Hashim T Abubacker - avatar
0
PHP can be using SSH command I am using phpseclib but a Pure PHP SSH implementation. For ex :- <?php include('Net/SSH2.php'); $ssh = new Net_SSH2('www.domain.tld'); if (!$ssh->login('username', 'password')) {    exit('Login Failed'); } echo $ssh->exec('pwd'); echo $ssh->exec('ls -la'); ?>
2nd May 2018, 1:56 AM
Ayush Bious Raj
Ayush Bious Raj - avatar
0
Ben Allen Thank you ✌🏻
12th May 2018, 3:49 PM
Hashim T Abubacker
Hashim T Abubacker - avatar