Skip to main content

All Questions

Tagged with
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"@"$...
Jafar Amini's user avatar
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 ...
user2825860's user avatar
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 ...
Arthur Walker's user avatar
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 ...
bash_profile blank's user avatar