仅用于代理(ssh-D)访问的登录shell



我想在远程主机(例如proxy.example.com)中创建一个用户,是否有像git shell这样的受限登录shell用于仅代理ssh访问?

编写自己的!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);
}

最新更新