All Questions
15
questions
1
vote
1
answer
232
views
Vagrant cant provision vm with debian/bookworm64 ssh authentification failed
I am trying to start up a VM with this box "debian/bookworm64" but it timeouts during the ssh authentification. I've used the same Vagrantfile with ubuntu/focal64 and there it just works. I ...
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"@"$...
2
votes
2
answers
18k
views
X11 forwarding: Unable to init server: Could not connect: Connection refused. What is needed for an X11 connection?
I want to control a no GUI Debian server by an X11 connection via ssh from Ubuntu desktop. From everything I read and watched it should work like a charm on Linux distros but it doesn't.
# The ...
1
vote
1
answer
2k
views
My connection is closed after connecting to server via SSH
I Clash to big problem for me.
I have vPS on Hetzner with ubuntu OS and plesk. I have shared hosting for some specific websites for my companie. When I want to connect to the domain name via ssh I'm ...
0
votes
1
answer
3k
views
"apt upgrade" over SSH: This frontend requires a controlling tty
When upgrading our linux servers, I issue a command like this from one of our management servers:
ssh server1.mycompany.com apt upgrade
Under certain circumstances, I get this output from the ...
0
votes
1
answer
3k
views
Unable to SSH after enforcing SELinux
We have an ubuntu VM on Azure. We replaced AppArmor with SELinux using Debian packages (selinux-basics_0.5.2_all.deb & selinux-policy-default_2.20140421-9_all.deb).
Everything works well when ...
0
votes
1
answer
1k
views
Connecting to Host with ssh is always asking for a password
I am out of suggestions to successfully connect via SSH to our live server. It is always asking for a password, even though my keys are being allowed, according to the administrator.
This is the /etc/...
2
votes
1
answer
3k
views
Copying an SSH ID to a server from a certain computer yields an error while the same command works fine from other computers
I get the following error message when trying to copy an SSH key to a remote server:
ssh-copy-id -p*** ****@****.com
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: ...
12
votes
6
answers
21k
views
Unknown linux process with random command
I have a unknown process when I run top:
When I kill the process it is coming again with another random name.
when I check the rc.d levels and init.d there are many random name similar like this one ...
0
votes
2
answers
1k
views
Restrict SSH access for one user of accessing machine
I have two virtual machines VM1(Ubuntu) & VM2(Debian). VM1 has a single user "admin" & VM2 has two users "test1" & "test2". What I want is that only test1 was able to access VM1 through ...
0
votes
2
answers
1k
views
How to install Ubuntu on Debian headless server?
I have a headless Debian Unstable server that I would like to install Ubuntu Trusty on. However, I do not have a keyboard or monitor connected to it, so I would like to install it over SSH. I have ...
0
votes
0
answers
2k
views
Amazon EC2 instance is not allowing me to login via SSH from my PC
Remotely, I have been logged in since last night, and it was working fine, just got timeout, now in the morning i am unable to re-login via SSH to the same Amazon EC2 box, here is my SSH log:
sun@...
0
votes
1
answer
303
views
hardening a server: disallow password-login for sudoers and log unusual ips
Two question regarding sudo-login into an ubuntu-system (debian tips welcome as well):
Is it possible to require sudoers on my box to only login with publickey-authentication?
Is it possible to log ...
0
votes
1
answer
72
views
GUI logon into remote system
I'm looking for something similar to RDP for linux.
I know VNC, but it does not work like RDP - it just sends images of screen, mouse position, keystrokes, etc. RDP just sends info that I've just ...
46
votes
2
answers
71k
views
Can I create an SSH user which can access only certain directory?
I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously.
I would like to create another ...