Difference between revisions of "Ssh -t"

From wikieduonline
Jump to navigation Jump to search
(Redirected page to Ssh)
Tags: New redirect, Mobile web edit, Mobile edit
 
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#redirect [[ssh]]
+
{{lowercase}}
 +
 
 +
 
 +
 
 +
* <code>ssh -t your_remote_hostname uptime</code>
 +
 
 +
* <code>ssh -t your_remote_hostname [[/bin/sh]]</code>
 +
 
 +
* <code>[[-tt]]</code>
 +
 
 +
 
 +
-t Force [[pseudo-tty]] allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.
 +
 
 +
== Relate terms ==
 +
* <code>[[RequestTTY]]</code>
 +
* <code>[[tty]]</code>
 +
* <code>[[ssh -T]]</code>
 +
* <code>[[ssh --login -i]]</code>
 +
 
 +
== See also ==
 +
* {{ssh (openSSH)}}
 +
* {{ssh}}
 +
 
 +
[[Category:OpenSSH]]

Latest revision as of 12:22, 14 March 2023


  • ssh -t your_remote_hostname uptime
  • ssh -t your_remote_hostname /bin/sh


-t Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty.

Relate terms[edit]

See also[edit]

Advertising: