All Questions
4
questions
0
votes
0
answers
29
views
debian several ssh in shellscript file not works
In Ubuntu, I have a shell script file. In my script, the first ssh command to the Debian server works but the second ssh has error.
for example, if I have
ssh -t "$userName"@"$...
1
vote
0
answers
853
views
How to set output of terminal to external VGA display
I have laptop with broken screen and external monitor that i can connect to laptop via VGA port. Is there any way how to set output of shell(I have no GUI on installed debian) to VGA monitor? I can ...
5
votes
3
answers
3k
views
No path, or command history through SSH when logged in to server as someone other than root
When I SSH into a server, as anything other than root, it only shows a $ and not the path. It also won't allow me to press the up key and see the command history when I don't SSH in as root. How do I ...
1
vote
1
answer
3k
views
Enable FTP disable SSH
I would like to know how to enable FTP access while disabling SSH access for all users except root and admin.
I tried to change the shell : /usr/sbin/nologin, but this is no good because disabling ...