/[cricket]/ssh_howto.txt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /ssh_howto.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Fri Jun 28 09:32:26 2002 UTC revision 1.2 by dpavlin, Fri Jun 28 17:42:33 2002 UTC
# Line 21  command="uptime" ssh-dss AAA...lSEV04= c Line 21  command="uptime" ssh-dss AAA...lSEV04= c
21    
22  test if it works...  test if it works...
23    
24  $ ssh -i ./uptime -q -l mole loophole  $ ssh -i ~/.ssh/uptime -q -l mole loophole
25   15:42:10 up 42 days, 18:25,  6 users,  load average: 0.00, 0.00, 0.00   15:42:10 up 42 days, 18:25,  6 users,  load average: 0.00, 0.00, 0.00
26    
27  It does? Oh, good. You now know how to setup individual keys for each  It does? Oh, good. You now know how to setup individual keys for each
# Line 29  command that you want to execute. Keep i Line 29  command that you want to execute. Keep i
29  permissions on loophole to execute that particular command, but other  permissions on loophole to execute that particular command, but other
30  than that, you are winner!  than that, you are winner!
31    
32    If you get one more line before uptime output, try adding -T option
33    to ssh. This will prevent pseudo tty allocation and (hopefully) remove
34    that output.
35    
36    If you are stuck with ssh v1 protocol, you have to use rsa1 instead of
37    dsa for ssh-keygen and authorized_keys instead of authorized_keys2.
38    
39    But, think about upgrading.

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26