标签: security shell ssh
我想在远程主机中创建一个用户(例如proxy.example.com),是否存在像git-shell这样的限制登录shell,仅用于代理ssh访问?
答案 0 :(得分:1)
自己写! restricted-shell.c:
restricted-shell.c
#include <stdio.h> int main() { printf("You are now connected to the proxy. Press enter to exit.\n"); scanf("*c"); exit(0); }