Y
Hacker News
new
|
ask
|
show
|
jobs
by
jaryd
5380 days ago
Could a user bypass this by using: ssh user@host.com -Tv 'bash' ?
2 comments
pedrocr
5380 days ago
The command you pass in is available to the command="" script in SSH_ORIGINAL_COMMAND, so you can exec() that or ignore it
link
moomerman
5380 days ago
Just tried it and it still prompts for the auth code
link
jaryd
5380 days ago
Thanks for the follow up! Will continue to play with it.
link