Stack Exchange Network

Stack Exchange network consists of 174 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
7 views

Segmentation fault with atom over SSH

I try to run Atom remotely (SSH) on two identical setups (except hardware) and however it works well on one machine, the other one causes segmentation fault on my local machine Sep 20 16:30:13 P50 ...
4
votes
1answer
78 views

ssh config depending on interactive mode

I've some rules in .ssh/config file which I would like activate only in interactive mode (ie. terminal background change). Is that possible?
0
votes
0answers
14 views

How to connect to internet my remote ssh server with static IP

I have a remote ssh server with static ip, and when I want remotely connect it to the internet. My ssh connection gets lost and never connect until it disconnected. Anybody has any solution to ...
0
votes
0answers
7 views

cannot access ssh and proxmox web GUI, cuase linux kernel panic issue

yesterday i was try send image VM with scp command from server A to server B, via putty and i do with three scp and i leave it all night.. tomorrow i get cannot access ssh and web GUI in my server B. ...
0
votes
1answer
14 views

SSH Login Via Keyfile With No Local Password

I have my remote SSH setup with my public key so I can login with it. This is great; however, I still have to type the password for my private key file. How can I login using the keyfile and no ...
2
votes
0answers
11 views

I can ssh to the server but sshfs gives me 'no matching cipher found: client arcfour server aes128-ctr,aes192-ctr…'

I can ssh to the server, but sshfs fails with the read: Connection reset by peer error. I have checked all the cases pointed out in this AskUbuntu question, the user is in the fuse group, ...
1
vote
0answers
20 views

Turn on color scheme in bash [duplicate]

I have a VPS with ubuntu linux on it. $ ssh ghopper@XXX.XXX.XXX.XXX ghopper@XXX.XXX.XXX.XXX password: Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-134-generic x86_64) * Documentation: https://...
0
votes
1answer
25 views

How to remove dconf-WARNING when running gedit over SSH?

I have a remote machine running on Ubuntu 18.04 with gedit installed. Every time I want to edit a text file with gedit, I got this annoying warning message: > gedit myfile.txt (gedit:27544): ...
0
votes
0answers
19 views

Permission-denied(publickey)

I searched on existing documents but nothing achieved. From my laptop, I have to ssh to server A and from there I have to ssh again to have access to server B. I tried below: #ssh-add #ssh -A ...
0
votes
1answer
24 views

Files/folders as group-owner www-data and SFTP as a different user

There are many similar questions here, and I've followed several answers to try and solve this issue, but with no luck. I'm using Ubuntu 14.04.5 LTS on an EC2 instance at AWS. I'm using WordPress in /...
0
votes
0answers
13 views

How to write to mounted server ussing sshfs -o?

I am connecting to a server using ssh where I login in through the terminal to access everything using the terminal. Furthermore, I mount the data to my laptop using sshfs -o. My main problem is that ...
0
votes
0answers
29 views

having trouble uploading and writing files trough sftp on a azure ubuntu server. can only do thinsg in home folder

recently got access to a new azure vps instance with an Ubuntu server - of which i am trying to upload files to the server webroot for futher setup. through the sftp that is part of ssh. i can login ...
0
votes
0answers
28 views

Limit SSH access of user to one directory

I have a Ubuntu server and I would like to give a friend access to it. However, I don't want him to have access to anything outside his home directory. The only solution I found that somewhat worked ...
0
votes
0answers
16 views

Chrome with Port forwarding via ssh

I'm having problems with some Google Chrome sessions under Ubuntu 16.04. I want to access, with Google Chrome, the web interface of a gitlab instance that I have running at a server that is behind an ...
0
votes
1answer
24 views

How to specify ssh key with pdsh

I'm using pdsh, but can't find any documentation or examples of specify the ssh key. Usually, I do ssh -i ~/.ssh/mykey.pem <address>. How do I change the pdsh command pdsh -R ssh -w ^server.txt "...
0
votes
0answers
6 views

Able to run browser over reverse SSH to test headless server deployment?

I have a headless 14.04 Ubuntu called Alice. Alice is connected to Bob using SSH tunnel. Alice is inside a internal network Alice ==> Bob Bob is on public internet and I can access Alice via SSH ...
0
votes
0answers
16 views

Copy folder from My PC to HPC server

I am trying to copy folder containing fortran code located in my PC to a HPC server. I am using the command scp -r /home/kiran1209/Downloads/Code1 74100022@nid00077:/home/TMA_CFDLab/174100022/CODE ...
0
votes
0answers
20 views

Transfer files between a linux ubuntu machine and a windows 10 machine with ubuntu installed

I work from my laptop wich runs on windows 10. But with the last updates, they gave access to the bash shell, so we can install Ubuntu. With Ubuntu I'm now able connect to my working linux machine ...
0
votes
0answers
14 views

Connect to Ubuntu machine protected with .pem file using VNC, in order to execute GUI applications

The title pretty much says it all. For now, I can connect to the specified Ubuntu machine using ssh -i pem_file_name username@ip_address, assuming that I am on the directory where the .pem file ...
0
votes
0answers
17 views

My ssh does not connect via external network

i have installed SSH on my Linux computer. I have accessed the computer from a device that is connected to the same Wi-Fi network and it functions very well. But the problem I face is that when I try ...
-1
votes
1answer
132 views

SSH into raspberry with outside network

I cannot find how to ssh into raspberry pi from the outside network. I have set up port forwarding, on port 80 for my raspberry pi. I have used https://httpbin.org/ip to obtain the ip address of my ...
0
votes
0answers
21 views

Can't Access Configuration Wizard for Wiki.js on Remote Ubuntu Server [closed]

I've gone through the steps to install Wiki.js on a remote server I have ssh access to, and am ready to configure. When I run sudo node wiki configure 3001 (I'm running it on 3001 because I already ...
0
votes
0answers
40 views

X11 forwarding $DISPLAY Error: Can't open display: (14.04)

I'm trying to ssh into a department server from my laptop with X11 forwarding. I'm using Ubuntu 14.04. I consistently get this error: X11 connection rejected because of wrong authentication. Error: ...
2
votes
1answer
53 views

Using sshfs on C accessed via A and B

The current set up I am working with requires me to ssh onto a machine C by first ssh-ing into A and then into B. Something like this: ssh [username]@[university].com # Machine A ssh [department] # ...
0
votes
0answers
18 views

Removed libssl1.0.2 and can not connect to the wifi anymore

I purged libssl1.0.2 by doing sudo apt-get purge libssl1.0.2. I am very new to all this and was trying to resolve another issue. I am not able to connect to wifi after performing purge and this when ...
0
votes
1answer
69 views

Not able to change ssh port on Ubuntu 18.04.1 LTS [duplicate]

I am trying to change ssh port from 22 to 1111. I have taken following steps, but not able to. sudo nano /etc/ssh/ssh_config Removed # where it says Port 22 Changed Port 22 to Port 1111 Ctrl + W -> Y ...
5
votes
1answer
261 views

Execute bash script on remote server non-interactively

I have a bash script that accepts exactly 3 arguments and I have created a web interface in PHP to run this script on a remote server. The user just enters username host and password of the remote ...
1
vote
1answer
27 views

How to run a unit-file as service for all users

I am trying to run ssh-agent by each ssh-session for each user (let's say I have userA with root privilege and userB withOut these privilage ). To do so, I've created a unit-file based on this stack-...
10
votes
1answer
154 views
+50

SSH into Ubuntu over Serial port

I have connected to my Ubuntu box using its serial port on windows(using putty connection is working fine.) According to the question https://serverfault.com/questions/892892/how-to-use-ssh-over-...
1
vote
0answers
13 views

Display problems with remote connection

I encounter display problems while connecting to my server with x11vnc. I manage to get a connection and display Gdm but when I login, I get this awfull screen, I suppose it's a problem with Gnome: ...
0
votes
0answers
12 views

Remotely accessing ubuntu terminal to connect to my digital ocean server

I recently setup a digital ocean account for my development purposes. Just created a droplet and then connected to it using ssh though my home Ubuntu system. Now, I want to be able to also access the ...
2
votes
0answers
37 views

Windows Server 2012 Putty Connection Network error: Connection refused + Not Access to Ubuntu [closed]

I got a Virtual Private Server with Windows Server 2012 Operation System. Now I want to install and config MySQL and PHP and Apache on my server. I found a tutorial and tutorial use Putty for ...
0
votes
1answer
36 views

Log in error after upgrade to 18.04 LTS

I just updated my file server from 16.04 to 18.04 LTS and I am now getting the following error when I log into the server: Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check ...
0
votes
2answers
24 views

scp output from remote grep back to my machine in a script

I am trying to write a script that would use a ssh session to do a grep on a huge logfile, cat the ouput to a temp file and scp the temp file back to the client machine: ssh user@server grep pattern ...
0
votes
0answers
14 views

Network error: Connection timed out

I can no longer SSH into my server after attempting to upgrade to 18.04.1. Not sure if this is what caused the problem but I did a 'sudo shutdown -R' command but didn't include a '0'at the end of it ...
0
votes
2answers
39 views

how to open ubuntu from iphone

i want to open my ubuntu ssh and show files from my ios device how ? i tried a lot of apps Like Ftp Manager and openssh and website like net2ftp and everything goes wrong
0
votes
0answers
53 views

Pinging Host-only Interface in MiniNet [closed]

I am new to MiniNet, trying to get MiniNet set up and running. I have the interfaces (eth0, eth1, lo) set up but cannot reach my NAT interface via SSH from my Mac Terminal. I am following the OpenFlow ...
0
votes
1answer
100 views

SSH: Port 22 Connection refused

From Ubuntu 18 lts I'm trying to establish ssh connection with my Kali Linux VirtualBox on the same computer. I've already installed openssh-client and openssh-server on both systems and I'm connected ...
2
votes
1answer
21 views

Lost all connection via Putty and RDP after upgrading to ubuntu 18

I'm a beginner in Ubuntu. I had a RDP connection to connect from my Windows10 to a VM with Ubutnu server v. 16.04.5 I launched an upgrade to ubuntu 18 using these commands: sudo apt update sudo apt ...
0
votes
1answer
119 views

WSL+Ubuntu 18.04: `ssh` or `apt update` gets “Temporary failure resolving …” errors

RESOLVED: I reached out to my job's IT and I got win10 1803 update. That solved all my issues including one I didn't mention: gradle wrapper script couldn't connect to daemon through 127.0.0.1 with "...
0
votes
0answers
18 views

Ubuntu connection refused randomly during the day

I have a server with Ubuntu 18.04. I have installed Apache2, Mysql Server, Mailcow Dockerized, openssh. Sometimes the server is refusing every connection and i dont know why. The Apache server is ...
0
votes
1answer
36 views

How to download files from local pc to remote pc? [closed]

I have some files on my local PC and I need to send these files to my Azure machine. Both machines are Ubuntu 16.04 and I know that I can send the data through "Connect to Server" section of the ...
1
vote
0answers
16 views

How to include the authorized key used in an ssh login notification email - Ubuntu

I followed this: How do I set up an email alert when a ssh login is successful? to get email notification sent to me whenever someone logs in with ssh. But I would like to include the name / comment ...
0
votes
1answer
32 views

How to properly migrate your private and public keys

I've bought a new laptop and copied my home folder from the older to the new machine. I've make sure that my .ssh folder was copied during the process, so I can see my keys inside that /home/<my ...
2
votes
1answer
50 views

External connection from SSH [closed]

I installed on my Ubuntu 16.04 the openssh-server and wanted to access my pc remotely through the terminal of other networks, such as the university, for example, but I'm only able to access through ...
0
votes
1answer
47 views

Ubuntu 18.04 block countries access to my server (ssh & nginx)

Is there a way I can block entire countries by country code (such as RU and CN)? Currently I have a UFW firewall rule enabled for every IP that tried to do shady stuff (logging in on SSH, searching ...
1
vote
0answers
29 views

How to enable SSH? [duplicate]

so I wont to access my Ubuntu 18 server in WinSCP becouse I need to upload some files, but I don't know how to enable this! Can anybody help me out?
1
vote
0answers
15 views

Window decorations missing on X11 forwarding

I'm connecting to my NVIDIA TX2 device running Ubuntu 16.04 LTS with ssh -X user@my.device. This works fine and I can open for example gedit. Now the problem is that window decorations are missing so ...
1
vote
0answers
22 views

How to open a terminal on remote desktop of Ubuntu 18.04

I installed XRDP on Ubuntu 18.04, and it worked. But, I cannot open a terminal on remote desktop. If I try to open it, it opened on original computer not remote desktop. And also if I open some ...
0
votes
1answer
19 views

How to create cloud service synchronizer + automation tools

Is there a framework for automating tasks on a development environment (which involves interacting with cloud services). For example, lets say I use rsync and to automate backups and various things ...