In linux, execute and get result of running command "hostname" on remote host new-jenkins-1 (assuming access to new-jenkins-1 is properly configured in ssh config file).
Answer
ssh new-jenkins-1 'hostname'
^^ note the use of the hostname command enclosed in single quotes
Question
In linux, execute and get result of running command "hostname" on remote host new-jenkins-1 (assuming access to new-jenkins-1 is properly configured in ssh config file).
Answer
?
Question
In linux, execute and get result of running command "hostname" on remote host new-jenkins-1 (assuming access to new-jenkins-1 is properly configured in ssh config file).
Answer
ssh new-jenkins-1 'hostname'
^^ note the use of the hostname command enclosed in single quotes
If you want to change selection, open document below and click on "Move attachment"
Send Remote Commands Via SSH — Malcontent Comics Incorporated Presents: , ssh is your friend. Yes, with ssh you can send commands directly to another system. Who knew? I'll keep this short and sweet. Here are some examples. The basic form looks something like this: <span>ssh systemsboy@rhost.systemsboy.edu 'ls -l' where "systemsboy" is actually your username on the remote host, and "rhost.systemsboy.edu" is your remote system. The command you're sending is
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.