Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在远程主机(例如proxy.example.com)中创建一个用户,是否有像git-shell 这样的受限登录shell 用于仅代理ssh 访问?
自己写!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); }