useradd sshuser -s /sbin/nologin -M passwd sshuser
说明:
-s /sbin/nologin —— 不允许登录
-M —— 不创建用户的目录
然后使用Bitvise Tunnelier连接即可。
useradd sshuser -s /sbin/nologin -M passwd sshuser
说明:
-s /sbin/nologin —— 不允许登录
-M —— 不创建用户的目录
然后使用Bitvise Tunnelier连接即可。
This entry was posted on 星期一, 7月 18th, 2011 at 14:36 and is filed under 东东博客. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
一 | 二 | 三 | 四 | 五 | 六 | 日 |
---|---|---|---|---|---|---|
« 4月 | ||||||
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
LorDong's Blog is proudly powered by WordPress
Entries (RSS) and Comments (RSS).