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

learn more… | top users | synonyms (1)

0
votes
1answer
13 views

What should I know about networking before I use rsync?

My friend just told me about rsync, and I tried to use it in command line. I was able to copy a file from one place to another on my own computer, but when I tried to 'rsync' a file to another ...
1
vote
1answer
5k views

Permission denied (publickey,gssapi-with-mic)

I am trying to connect to a VM using this command: sudo ssh -i /home/ritesh/.ssh/id_rsa1 tc@54.80.22.15 -L 5901:localhost:5901 But it's giving me this error: The authenticity of host '54.80.22.15 (...
1
vote
1answer
19 views

Changing ssh ciphers on EC2 ubuntu

I'm running ubuntu on an Amazon EC2 server - I need to lock down the ssh ciphers for pci compliance. I have tried editing the /etc/ssh/sshd_config, with these lines: Ciphers aes256-ctr,aes192-ctr,...
1
vote
0answers
21 views

SSH session doesn't export functions

I have a bunch of functions stored in ~/.bash_functions, which is sourced by ~/.bashrc on shell startup. The file exports all the functions like so: # Find functions in this script based on a grep ...
0
votes
2answers
3k views

running command on remote host by ssh fails when running inside script

The Situation: My Computer runs on Kubuntu 14.04. I am Admin of a Students House with some Netgear-APs. The idea is to have a script rebooting them all by one script. (ssh-key isn't posible) The ...
1
vote
2answers
35 views

Connecting to a server via the command line

Newbie networking question here... So, I have followed some instructions from my university to connect to my personal space on the university network. The instructions are to open Nautilus, then ...
0
votes
1answer
9k views

Ubuntu Desktop 15.04 Installing openssh-server : missing dependencies

I recently installed Ubuntu Desktop 15.04 in a VM. I chose this version as opposed to using the Server image just to have a pretty GUI to click. Upon checking, there isn't an SSH server installed ...
1
vote
1answer
18 views

Does ssh service stop on reboot?

When I reboot a VM (Ubuntu 16.04) of mine, I'm no longer able to ssh to it. From what I understand, 'apt-get install openssh' gives you sshservice on startup by default so I'm guessing this isn't the ...
233
votes
12answers
200k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
23
votes
4answers
39k views

How do I force SSH to only allow uses with a key to log in?

I tried following the instructions here: http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ to only allow users with a public key on the ...
0
votes
1answer
17 views

how to ssh to hostname without giving fqdn

currently i am working on lots of server which are having very lengthy fqdn. example prodService.xyz.pdr.abc.com and i want to do ssh to server like below without giving fqdn ,it should take fqdn from ...
0
votes
0answers
9 views

error while using enable-secure-admin

I'm trying to install glassfish on a server (I also installed Java) but I got this error: Remote server does not listen for requests on [localhost:4848]. Is the server up? No such local command: ...
0
votes
0answers
6 views

Dropbear: Can't use regular passwords to login

I'm using dropbear to unlock my lvm/luks partition on a remote server during system boot. I've added dropbear to initramfs and I can connect and authenticate using public keys. But unfortunately, ...
0
votes
1answer
30 views

How to redirect ssh logins to server's Docker containers

I'm planning a server for the students studying Linux and have some rules for this. All students will get the same server domain/port for SSH, and each own username/password(normal privilege). 4 ...
12
votes
4answers
34k views

How do I connect to a server with thunar in Xubuntu?

In Ubuntu running Gnome 2 you were able to select "Connect to Server" from the Places menu and you would get a graphical connection to whatever server you connected to. Example: How can you do ...
0
votes
1answer
16 views

gcloud usage 101 for ssh

How do I install and use gcloud? In the context of: Connecting to Linux Instances This guide shows you how to connect to Linux instances using common SSH tools on Linux, OSX, and Windows ...
0
votes
0answers
12 views

sshd: segfault at 8 ip error 4 in libc-2.19.so on ubuntu 14.04

I'm using Ubuntu 14.04 and yesterday I was setup the reinstall openssh-server and setup goeip which allow/deny ssh access country wise. In /var/log/message , Continuously getting below error: $ tail ...
0
votes
1answer
383 views

Failed to SFTP connection

I want to configure user ftpuser to sftp for an existing apache owned directory /var/www/webiste I added it as new user and made /var/www/webiste its home directory, useradd -md /var/www/website -s /...
8
votes
2answers
12k views

Bizarre SSH Problem - It won't even start

I recently got Ubuntu 12.04 Precise, got it up and running with some MediaWiki software, static IP on the box and router and was able to access the main page even from a cell phone. Everything seemed ...
0
votes
1answer
22 views

X11 errors over SSH

i get following errors when trying to open programs over ssh. $ thunar Thunar: Cannot open display: $ libreoffice Failed to open display $ firefox Error: GDK_BACKEND does not match available ...
1
vote
2answers
497 views

Created a new OpenSSL key and I don't know where my CSR file is?

Still learning a lot about Ubuntu and server management. I need to generate a new SSL certificate and I have followed a tutorial on how to create the CSR file. I ran the following command: openssl ...
1
vote
1answer
11 views

Git SSH not working in SSH session

First of all, I am not entirely sure if this is a problem with Ubuntu itself, but any insight would be helpful. I use Ubuntu 14.04. I have a git repo cloned over SSH, and normally I have no problems ...
0
votes
2answers
44 views

spawn command not found on ubuntu 14.04

I'm using Ubuntu 14.04 and I want to block SSH login country wise using GeoIP ( From https://www.axllent.org/docs/view/ssh-geoip/), Please find output of command: $ spawn spawn: command not found ...
1
vote
1answer
24 views

Asking remotely a computer to wake another via WOL [on hold]

I understand Wake-on-LAN cannot work if you're trying to wake a computer from outside the network, however, on a very far observatory, there's this server running on Ubuntu 10.10 shutting off ...
0
votes
0answers
88 views

Recover Server from recovery mode(firewall closes ports)

My server( Ubuntu 14.04 - Plesk - RAID1 ) is now in normal mode. Almost all ports disabled by firewall as plesk port 8443, so plesk login panel is not opening. Also Website is not opening. ...
2
votes
1answer
4k views

SSH: Can connect locally but not “remotely”

A bit of background: I'm a ubuntu user for almost a year now. I had an old box lying around and decided to put it to some use. The first thing I wanted to do was set up SSH so that I can place it in a ...
2
votes
1answer
24 views

Purpose of email at the end of SSH public key

I was adding one of my public keys to the authorized_keys on one of my servers when I realized that at the end of my public SSH key there is my email: $ cat .ssh/id_rsa.pub ssh-rsa AAAA[...lots of ...
3
votes
1answer
3k views

How do I save my previous ssh sessions

I currently have to SSH into many different systems. Is there a way to for me to save the hostname / IP of the host so that I do not have to constantly type in the hostname / IP address every time I ...
139
votes
12answers
168k views

How can I set up password-less SSH login?

I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
0
votes
0answers
16 views

Can't copy ssh from Ubuntu server to Rpi

I have a digitalocean server that i watn to use to orchestrate a couple of RPies with Ansible. I have created the key pair and i'm trying to ssh-copy-id pi@#####... but all i get is this: /usr/bin/...
0
votes
1answer
10 views

Communication between Host and Server with completely different sshmac/sshcipher

I have a little bit idea about sshcipher and sshmac. Recently i got to know that to change sshmac and sshcipher , we need to update sshd_config with required cipher/mac. Now the question here is : ...
1
vote
1answer
2k views

SSH very slowly connect

When I do ssh root@ip_adress I receive password request through 7-8 seconds waiting. It happens when I do it with keys too. This is not server side problem I'm sure(Centos or Debian connecting to the ...
2
votes
2answers
3k views

How do I install the SSH2 extensions of PHP?

I want to be able to run PHP functions like ssh2_connect. But, those functions are not available on my machine. What do I need to do to install them? I am using Ubuntu 8.04 Hardy Heron.
0
votes
1answer
40 views

DNAT redirecting to specifc port is not working

I want to redirect ssh by port using DNAT, and i do try to ssh it through the command > username@IP_ADDRESS:10003, and I got this message: ssh: Could not resolve hostname IP_ADDRESS:10003: Name or ...
0
votes
0answers
25 views

Why ping and ssh resolves different Ip?

Honestly I have no idea what happened but ping not connecting to the right ip address so can't login with ssh. Say my server ip address is 136.17.90.160, but when local when ping... (venv) simon@...
0
votes
0answers
18 views

Ubuntu 14.04 - need ssh access on Ethernet to execute the commands and wifi access to send data

Ubuntu system has two interfaces - ETh0 & wlan0 ETh0 is conected to local test network through switch wifi is conected to Access point Eth0 got ip 172.18.201.100 wlan0 got ip 172.18.202.87 ...
0
votes
1answer
46 views

Problem loading upwork team app [on hold]

Unable to open upwork team ap [0714/013034:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more ...
86
votes
7answers
351k views

Adding SSH Keys to authorized_keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still connected, ...
0
votes
2answers
26 views

How I can copy a src code from my computer to the remote computer

I am beginner in linux and I don't know many details about it. I am trying to copy a folder from my computer to remote computer to install it in the remote computer and work with it. how I can do that....
0
votes
0answers
6 views

PHP script wait on ssh input

I'm not sure if this is an ubuntu question or a php question, but: I am trying to run a script via ssh on a remote server, and I want my php script to continue running only when it receives a signal ...
0
votes
0answers
18 views

Could not connect to display tower:10.0

Got a tower with /etc/ssh/sshd_config like following: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no when I connect to it with ssh with my laptop with following .ssh/config file Host=* ...
4
votes
1answer
37 views

Comment, Uncomment, change setting based on string, add line from terminal

I have to edit some files to uncomment a line, change a value on that line or uncomment a line. I am trying to do this through a bash script. I am trying to edit /etc/ssh/sshd_config and change ...
0
votes
0answers
12 views

Ubuntu Server - After reboot key always refused, until login

I installed Ubuntu Server and also configured the ssh server. I tried the "key system", so I have a public key in ~/.ssh/authorized_keys, and also configured this file in /etc/ssh/sshd_config. When I ...
0
votes
1answer
33 views

SSH : Could not resolve hostname 192.168.40.250:2080, Name or service not known

I just installed a centOS 6.5 web server on a VMWare. Now I' like to access it from my physical computer in order to use the LAMP stack i installed on it to host a web application am developping. But ...
2
votes
1answer
24 views

directing ssh to use wireless instead of wired network

I have both wired and wireless network on my laptop. I want to ssh a server that is accessible over the wireless network only. How can I direct ssh to use WiFi for connection to server without having ...
7
votes
6answers
3k views

How do I disable gnome-keyring ssh integration?

I don't want gnome-keyring to get in the way of my git commits, partially because it locks the entire screen while asking for a password, even on KDE (though I have now switched to GNOME). While I do ...
1
vote
0answers
48 views

/etc/sudoers file corrupted and I can't run 'pkexec visudo' over SSH

Following the instruction here I get: pkexec visudo ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/usr/sbin/visudo' as the super user Authenticating as: ...
0
votes
0answers
11 views

Not able to access MySQL, not via Virtualmin or SSH. Tried everything

Using Ubuntu on 14.04. I installed Virtualmin and it says ''MySQL does not appear to be installed and running on your system, or has not yet been set up properly in Webmin's MySQL Database module. If ...
0
votes
0answers
21 views

What's wrong with my autossh tunnel?

This is my synergy tunnel between my desktop and my laptop. Both are Ubuntu 14.04 LTS. Note that localhost is the desktop. This works: ssh -N -f -L 24800:localhost:24800 laptop This doesn't (I ...
1
vote
1answer
24 views

is there a different way to mount drives over ssh then when using putty?

I have an Ubuntu 14.04 machine that i use as a fileserver and i have installed Ubuntu 14.04 on my laptop as the only OS. lately i have been having issues where the mounted drive on my server seems to ...