Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh]

SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

0
votes
0answers
15 views

Gnome-keyring: “Automatically unlock this key whenever I'm logged in”

I don't seem to have the option to "automatically unlock this key whenever I'm logged in" when trying to SSH into another computer. This is a screenshot of my prompt: This is an example I found on ...
1
vote
0answers
17 views

Public key SSH authentication broke on all my ubuntu servers

Okay this is a tricky one In the past few months, all of my ubuntu 16.04 servers stopped accepting public key SSH authentication and will only accept passwords. Some of the things I tried: Auditing ...
-1
votes
0answers
38 views

Can't use/login VPS (Error: Unable to exchange ecryption keys)

today I found out I couldn't login to my VPS (Ubuntu 16). Yesterday i make this: https://www.digitalocean.com/community/questions/how-do-i-restrict-a-user-to-a-specific-directory So my phpmyadmin ...
0
votes
0answers
37 views

ssh connect to a machine under public IP [duplicate]

I tried to reach my machine through public ip $ ssh me@23.100.101.9 me@23.100.101.9: Permission denied (publickey). the authorized_keys gaowei@alpha:~: me@host:~/.ssh: $ cat .ssh/authorized_keys ...
0
votes
0answers
18 views

SSH Connect to PC from terminal on the phone

My android phone and the ubuntu PC machine are working on the same wifi. Tried to reach the PC from termux on the phone pwd /data/data/com.termux/files/home $ ssh me@host.local -p 2222 ...
1
vote
0answers
34 views

Local SSH connection using private network IP address not working

I tried to ssh connect to the local machine itself as ssh me@host -p 2222 It prompt password to login However, if attempt with $ ssh me@192.168.31.127 -p 2222 ssh: connect to host 192....
0
votes
0answers
26 views

How to write chat script through SSH port, with piping?

A few years ago I wrote a bash script with the help of my IT teacher. It was a chat program that created a text file on the server, that anyone could edit (only add text). I think we used the SSH port,...
0
votes
0answers
23 views

How do I mount my laptop's hard-disk in a remote server (reverse sshfs)?

I was wondering if there is a way to mount a local directory/hard-disk in another server (like sshfs but vice versa) I know it should be possible to use sshfs from the other machine while my own ...
0
votes
1answer
26 views

systemctl failed to restart ssh

I tried to restart the ssh as $ systemctl restart ssh Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for ...
0
votes
1answer
26 views

The ssh instead of ssh in /etc/init.d

I am reading the book LPIC-1 Linux Professional Institue Certificate Guide and encounter such a statement about sshd If you make changes to your SSH configuration, you may need to pass the reload ...
1
vote
1answer
32 views

Arch in qemu: Does it hang on boot or am I doing something wrong? [on hold]

I'm not sure if Arch Linux (version of 05/02/2019) just hangs on boot while being emulated in qemu or if I just don't get how to use qemu. Situation: I have an Ubuntu 18.04 server which I access via ...
0
votes
1answer
23 views

Can't do Local fowarding from a local host to a remote host

On Ubuntu 18.04.2 LTS I have tried to configure a basic Linux server with monit. I'm doing this on my own computer to learn to be a sysadmin. I am connected to port 2812 locally and the syntax I've ...
0
votes
0answers
22 views

which technology I mean. java, php,.net, python wordpress on aws ec2 instance is used for webservices and where is db?

I am new to AWS EC2. Actually, there is already services created and deployed on AWS EC2 but I do not know which technology used. And for that, where is source code and database. I am provided with ...
0
votes
1answer
57 views

Fixing a ssh and sftp lockout

General problem: I got locked out from controlling my Ubuntu OS through sftp and ssh. What caused the issue: A genious move by blindly following this tutorial: https://wisdmlabs.com/blog/create-an-...
0
votes
0answers
15 views

Ubuntu Reboot causes run/sshd to be deleted and missing bind to domain

So I have an interesting problem. I've looked through these forums and I have a similar issue to this: Missing /var/run/sshd I have a client who's running the following as a VPS on a Godaddy setup: ...
0
votes
1answer
69 views

UbuntuServer 19.04 cant access internet but SSH

I'm new with Ubuntu. I needed to install a Ubuntu-Server and connect with SSH. After many Problems it worked, but now i can't connect with the Internet. sudo more /etc/resolve.conf more stat of /etc....
0
votes
1answer
28 views

How to Run SSH on remote machine and leave? [duplicate]

I want to achieve the following scenarios: Connect to remote machine via SSH Run command on remote machine - that usually takes 3 days to complete and shows output while working Leave the SSH ...
1
vote
1answer
26 views

Stability of Connecting to a Server Over the Internet with a Public IP Address?

I just made my server downstairs with a static IP address and set up port forwarding on my router for the specific SSH port that I wanted. I connected to it using the public ip address supplied from ...
0
votes
1answer
30 views

Cannot SSH to github

I just installed Ubuntu yesterday; when i ssh to github, rather than being prompted for a password, it just stalls. The command i entered was: ssh -T git@github.com After entering, the cursor blinks ...
0
votes
0answers
18 views

reverse ssh run in rc.local : Host key verification failed

I am trying to run reverse ssh in background by using this command ssh -N -R 2222:localhost:22 -p 22 user@ip The question is I can run this command manually and everything is fine but when I put ...
0
votes
0answers
18 views

Local Windows to Remote Ubuntu ssh tunneling

I have a Raspberry Pi with running Ubuntu and broadcasting by Websocket Sharp simply socket on port 11011. On AWS i have small vps which i want to use like a tunnel. So my connection: Local Network ...
0
votes
1answer
28 views

Connection to Port 22 refused

We have an issue in our LAN network which do not allow us to connect through Port 22 to servers outside our network. I am trying to use SSH to connect to EC2 instance in Amazon. Since, SSH connected ...
2
votes
0answers
16 views

How to set up users on SFTP server?

This is for Ubuntu 16.04, if that matters. I tried making a tag but it said I don't have enough rep. I set up an SFTP server on an Amazon AWS EC2 instance so our clients can transfer files securely. ...
-2
votes
1answer
49 views

Help trying to execute a sh on background

Hi i have a problem trying to execute a sh script on background /home/user/server-data/run.sh +exec server.cfg i want execute that script on background but it dosen't work even if i use the & on ...
0
votes
1answer
18 views

Avoid copying current directory but files only via sftp

When I'm copying files via sftp with this command: echo 'put -rp /home/rof/clone/dist' > put.txt sftp -b put.txt andreyshedko@185.206.144.61:/home/andreyshedko/Applications/agroproject-api/stage/...
3
votes
1answer
36 views

SSH Can't authenticate 18.04

I had my SSH desktop configured this morning and could SSH to my machine remotely. I decided to re-install SSH onto the Desktop and now I'm not able to ssh in. Does anyone know why? $ ssh -vvv -p 22 ...
1
vote
0answers
62 views

Trying to connect Filezilla with SFTP

I'm trying to connect with Filezilla to a SFTP Server using username and password, but I can't establish one (error message below). I'm using: Filezilla in Ubuntu 18.04 LTS. External Server is setup ...
0
votes
0answers
38 views

Can't connect to Ubuntu server VM (VirtualBox) on local machine, can't seem to restart network manager either

A bit of background: This tiny project went from a curiosity to a "kind of" mandate at work (this is all just to set up a website sandbox). And so I created an Ubuntu (18.04.2) VM with VirtualBox and ...
1
vote
1answer
64 views

SSH freezes at pledge: network

I setup passwordless ssh login. I could connect through ssh and also used sftp. suddenly I could not connect any more and ssh freezed. Server: Ubuntu 16.04 Client: Ubuntu 18.04 ssh --vvv user@host ...
0
votes
1answer
32 views

save remote command output locally over ssh proxycommand

Team, am executing some commands on remote ubuntu server from ubuntu client. I want to save output of that to a local client directory. Am trying to run other commands from client after I save the ...
1
vote
0answers
13 views

Large files with local git repo

I have a computer running ubuntu, which I use as a git server. I have a bunch of other computers connected to the same network which regularly push and pull from the git repo on my local git server. ...
1
vote
1answer
27 views

python script is not showing in jobs

I have a python script to run a flask application in ubuntu server. I ssh'ed to the system and ran the flask server with python run.py in debug mode , to see the debug info. app.run(host='0.0.0.0',...
0
votes
1answer
65 views

How to have DISPLAY 'automatically' set by Eclipse's remote debugging session?

When I ssh to my target (Terasic DE10-Nano, a board with ARM A9 inside FPGA running Ubuntu 18.04 base) from my host (a laptop running Ubuntu 16.04 x86_64), the window created by the program I run on ...
0
votes
1answer
19 views

Deleted easy-rsa folders, what to do

I've been following a tutorial to setup an OpenVPN server. However, it didn't work and I decided to remove OpenVPN and try again. I did it with sudo apt-get purge openvpn command and then rm -rf /...
0
votes
0answers
34 views

Try update Ubuntu 14 to 16 and reboot --> no more ssh / ufw don't work / no ping

I'm pretty desperate. This week I try an update for my distant server from ubunut 14 to ubuntu 16 with : /opt/psa/bin/distupgrade.helper.ubt14-ubt16.x64.sh Then the tuto say reboot so I reboot. ...
0
votes
0answers
17 views

Installation of Gnome (Display Manager?) breaks Amazon Machine Image

Launching an AMI (Amazon Machine Image) for a Ubuntu instance with installed GUI does not work. Stop/Start of the same instance works without any problems, but when you create an image of that ...
0
votes
1answer
50 views

How can i install the latest Ubuntu and delete Cent OS?

So I'm renting a server running on Cent OS 6.10 (Final). And I need it to be running on Ubuntu instead of Cent OS. The support of the renting company gave me the credentials for VNC (KVM) connection....
0
votes
0answers
20 views

Dolphin and Krusader cannot connect with sftp but ok with fish

On Ubuntu 18.04 with Gnome desktop (fully updated as of asking), I cannot connect to my Ubuntu 14.04 server with the sftp:// protocol, only with the fish:// protocol using Dolphin or Krusader (KDE ...
0
votes
0answers
33 views

Ubuntu 18.04 strange multiple ip/port problem

I upgraded a server from 16.04 to 18.04. This way I got my network configured in /etc/network/interfaces. The interface has two ip adresses. Apache is listening on both addresses. Problem is: Once I ...
1
vote
1answer
51 views

Is someone trying to hack my server?

So I typed journalctl after ssh(ing) into the server and got the following output: (so is someone trying to hack system or is it from my side?) (Also note the timing says 5am? but most likely none of ...
0
votes
0answers
112 views

ssh: connect to host port 22: Connection timed out

I am getting following error when I connect to the server. Help me to resolve the issue. ssh: connect to host port 22: Connection timed out
0
votes
1answer
123 views

Permission denied (publickey). AWS: Ec2 Connection Error on Ubuntu 18

A while ago i was able to connect to my server using SSH and suddenly it stopped working. I am trying command: ssh -i "mykey.pem" ubuntu@server-ip and Ec2 throws back an exception Permission ...
0
votes
0answers
22 views

Remote off-site Printer

Goal: send print jobs to a remote offsite printer. Employees should be able to pickup print jobs. An ubuntu PC or raspberry pi (preferable) would drive said printer. I found: How to print through ...
0
votes
0answers
46 views

SSH asking for password even though host computer is switched off

So I have a computer with a SSH server. It is setup to use publickey authentication. Password is disabled. Yesterday, it was working fine outside of the network. Today I tried to login outside of the ...
1
vote
1answer
57 views

What are the differences between `ssh -R port:host:hostport` and `ssh -L port:host:hostport`?

I learned about using ssh -L port:host:hostport from DigitalOcean tutorials, and later saw the use of ssh -R port:host:hostport for Remote VSCode extension. I seem to be able to accomplish the same ...
0
votes
0answers
39 views

Not able to git pull “/bin/bash: /usr/bin/sss_ssh_knownhostsproxy: No such file or directory”

I am not able to pull from Jenkins slave machine, getting below error: $ git pull "/bin/bash: /usr/bin/sss_ssh_knownhostsproxy: No such file or directory ssh_exchange_identification: Connection ...
0
votes
1answer
53 views

Can ssh using domain name but cant using server name!

Something very strange happened to my server. From home (where my server is also) I used to ssh using my server name. From outside I ssh using my domain name, which obviously points to my home server....
0
votes
0answers
49 views

Trying to SSH into an ubuntu server using global IP

I've set up an ubuntu server, and can SSH into it just fine via 192.168.1.20. However, attempting to use the global IP results in SSH hanging. I've forwarded port 22, and confirmed that that is the ...
0
votes
1answer
21 views

How to show machine and username on X-forwarded windows

I use forward X windows connections a lot (using "ssh -X ..."). How can I see which window is from which user and machine? Ideally I'd like each non-local window title bar to display "fred@server3....
6
votes
1answer
322 views

what is the sudo password for a --disabled-password user

I have created an account on ubuntu with the --disabled-password flag. When I login to this account through ssh using public key authentication, and do a sudo command like apt install, sudo asks for ...