Difference between revisions of "Ssh -t"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
  
  
  -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.
+
  -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 ==
 
== Relate terms ==

Revision as of 11:35, 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

ssh --login -i

See also

Advertising: