hey..alweer een ssh topic 
Ik kan dus alleen als root SSH'en , er gebeurd iets met /bin/sh als normale user.. iemand een idee waarom ik niet als user kan SSH'en?
connection is wel refused voor root maar dit is alleen even voorbeeld.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| [reefer@linux reefer]$ ssh -l guest 192.168.0.2 /bin/sh: 192.168.0.2: command not found ssh_exchange_identification: Connection closed by remote host [reefer@linux reefer]$ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/bin: /usr/java/jdk1.3.1_02/bin:/home/reefer/bin [root@linux root]# echo $PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin: /usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin [root@linux root]# ssh -l guest 192.168.0.2 Secure connection to 192.168.0.2 refused. |
Ik kan dus alleen als root SSH'en , er gebeurd iets met /bin/sh als normale user.. iemand een idee waarom ik niet als user kan SSH'en?
connection is wel refused voor root maar dit is alleen even voorbeeld.
A Breakbeat A Day Keeps Religion Away.