1termy-ssh(1) General Commands Manual termy-ssh(1)
2
3
4
6 termy-ssh, termy-sudo, termy-su - Establish a connection between Termy‐
7 Sequence servers using common helper programs
8
9
11 termy-ssh [ssh-options] [user@]host
12 termy-sudo [su-options]
13 termy-su [user]
14
15
17 termy-ssh is a wrapper around termy-connect(1) for running termy-
18 server(1) on a remote host using an instance of ssh(1). The ssh-
19 options, user, and host are passed to ssh, along with -q to disable
20 printing of diagnostic messages, and -T to disable pseudoterminal allo‐
21 cation. The single command termy-server is requested to be run on the
22 remote host.
23
24 Important: Make sure that termy-server(1) is installed on the remote
25 system and present on the remote user's PATH. The shell run by ssh(1)
26 in single command mode is neither a login shell nor interactive, mean‐
27 ing that the remote user's .profile and .bash_profile will not be
28 sourced. Furthermore, PATH customizations applied in the remote user's
29 .bashrc must be made before any test for interactivity that causes the
30 script to exit.
31
32 Important: Ensure that ssh-options does not contain any switches such
33 as -v that interfere with the -q or -T switches added by termy-ssh.
34 Some situations might require direct use of termy-connect(1) or a more
35 complex wrapper script.
36
37 termy-sudo is a wrapper around termy-connect(1) for running termy-
38 server(1) as a different user using sudo(8). The sudo-options are
39 passed to sudo, along with -i to start a login session, and -S to
40 remove the need for a pseudoterminal. The command termy-server is
41 requested to be run as the new user.
42
43 termy-su is a wrapper around termy-connect(1) for running termy-
44 server(1) as a different user using su(1). The optional user argument
45 is passed to su. The command termy-server is requested to be run as
46 the new user.
47
48
50 ssh(1), sudo(8), su(1), termy-connect(1), termy-server(1), termy-moni‐
51 tor(1)
52 TermySequence - https://termysequence.io
53
54
55
56TermySequence™ March 2018 termy-ssh(1)