1

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

4

1 回答 1

1

自己写!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);
}
于 2012-11-12T19:28:12.190 回答