Update ssh_shell

This commit is contained in:
Morgan 2023-12-01 16:00:48 +09:00 committed by GitHub
parent 7399b93ebf
commit bf5efce29c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
# #
# no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command="~/ssh_shell
#
TIME="$(TZ='Asia/Seoul' date +%Y-%m-%d_%H-%M)" TIME="$(TZ='Asia/Seoul' date +%Y-%m-%d_%H-%M)"
CLIENT_IP=$(echo $SSH_CLIENT | awk '{print $1}') CLIENT_IP=$(echo $SSH_CLIENT | awk '{print $1}')