File: client.yo

package info (click to toggle)
stealth 4.04.00-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: cpp: 2,759; sh: 151; makefile: 111; ansic: 52
file content (15 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
    Next, at the client's account where s()'s tt(ssh) command connects to (see
also the tt(USE SSH) specification in section ref(USE)) ssh-access must be
granted to the monitor's user. To do so, the monitor user's file
tt(~/.ssh/id_rsa.pub) is added to the client account user's file
tt(~/.ssh/authorized_keys):
        verb(    # transfer user@monitor's file id_rsa.pub to the client's /tmp
    # directory. Then do:

    cat /tmp/id_rsa.pub >> /home/account/.ssh/authorized_keys)

    This allows the user at the monitor to login at the account at the
client without specifying the client account's password (of course, if the
ssh-key is passphrase protected that passphrase must still be provided at the
monitor when starting s()).