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

learn more… | top users | synonyms (1)

5
votes
2answers
181 views

putty key -> connection refused (permissions OK, /var/log/auth.log is empty)

I already checked here: Trying to do ssh authentication with key files: server refused our key and I did all these: *new: generated key(s) via ssh-gen in a Linux client. added the public key to ...
1
vote
1answer
274 views

How to set default DISPLAY for all SSH sessions?

I'm SSH-ing to my PC from my phone, and I have to run export DISPLAY=:0.0 every time. Is there any way I can set it on my PC so that I don't have to do it on my phone?
4
votes
1answer
49 views

Why is ssh-agent running? Should it be?

Recently I've noticed a process called 'ssh-agent' running on my computer. It's only been there for a week or so, but it's never been there before. According to system monitor, the process running is ...
0
votes
0answers
42 views

Can I set password for SSH for auto login? [duplicate]

I was wondering if it is possible to save the ssh password somewhere for auto login to the devices? I don't know if you guys have used SecureCRT but it has that option where it saves your password ...
0
votes
2answers
35 views

remote accessing linux system

I would like to access my Linux system's command shell remotely. The system runs at home behind a router which connects it to the internet. I was thinking I could forward a port on the router to the ...
0
votes
2answers
78 views

Connect to a server through tunnel like WinSCP

I'm migrating me from Windows to Linux. I've installed an Ubuntu (14.04.01) and I usually did this: myPc (tunnel) -> machine A -> machine B With the opcion "tunnel" in advanced options in WInSCP. ...
4
votes
2answers
92 views

How to execute a command in multiple Terminals by executing a command in only one? [duplicate]

I am going to have multiple machines that I am going to connect to via SSH so I am going to have multiple Terminal windows up, though what I want to do is to execute a command so that all the machines ...
0
votes
0answers
29 views

Use sshfs with ssh-agent and/or kwallet

I am using sshfs with a password protected key pair to mount a remote folder using a shell script. I am also using ssh in that script. Every time I start the shell script I get a password request on ...
0
votes
0answers
36 views

Remote desktop from Win to Lubuntu via x11vnc

I have 2 questions bothering me: I've configured SSH connection from windows to lubuntu, and installed x11vnc and tightVNC viewer (and everything works) Problems: Why does starting x11vnc shows ...
-1
votes
2answers
57 views

In the iptables i have a rule for ssh, why doesn't it work?

I have changed all the iptables chains to DROP, and made a rule to allow ssh from the computer (10.21.0.40, have hidden NAT, eth1) to Ubuntu Server (172.16.21.1, static ip, eth0), here is the rule: ...
1
vote
1answer
46 views

How to host a virtural private server?

How can I host several VPS's on my Ubuntu computer? I have all ports open, and want to host several virtual private servers for a few people. They need to be able to connect to a VPS on my computer ...
2
votes
0answers
22 views

Why does `passwd -l` (--lock) also prevent ssh key-based login?

I locked a users password with passwd --lock [userName], the man page and this answers tells me, that a locked password doesn't prevent other means of logins (e.g.: ssh key-based). Quote from man ...
1
vote
0answers
21 views

Recursivly resolve aliases for tor hidden service with ssh

I run a couple of raspberry pis with hidden services on it (for remote access via SSH). I used to use a .ssh/config to get nice aliases for the hidden services. Something like: Host *.onion ...
0
votes
1answer
19 views

ssh daemon and port forwarding issues

could somebody please help me? I am trying to troubleshoot a ssh server connection. The daemon runs fine on a local network but for some reason will refuse a external connection even though the port ...
0
votes
0answers
16 views

How do I make a symbolic link between a shared folder and a repeating user in a specific group?

For example : My user Jos is in 2 groups. Group A and Group B. I want to make a symbolic link from my shared folder to Jos in group B, but not in group A. My SH script : #!/bin/sh create_blink(){ ...
0
votes
0answers
34 views

Byobu won't launch on login

I've recently started using byobu instead of tmux but I can't get it to launch on any of my ubuntu 14.04 AWS servers. My steps have been: sudo apt-get install byobu byobu-enable This gives this ...
1
vote
1answer
38 views

connect two servers via second network interface

I installed Ubuntu 14.04.3 LTS on two HP Servers. Each server has four network interfaces and I want to use the 2nd interface to connect the two servers. The first interface (em1) is configured to ...
0
votes
1answer
210 views

How to give permissions to www-data to log in with ssh? [duplicate]

I have an Ubuntu 14.04 server, where Apache runs as user www-data. I would like to be able to log into the server via ssh as www-data. How can I define a password for www-data without breaking the ...
1
vote
0answers
24 views

Override default 'HOSTALIASES' behaviour

I followed the method of creating my own custom hosts file as suggested here in this answer. It works fine. But the problem is it expects your public and private keys to be in the ~/.ssh folder with ...
0
votes
1answer
37 views

Connecting to existing terminal from iPhone to Ubunutu desktop [duplicate]

I run a small Minecraft server on an Ubuntu PC in my house. Sometimes I have to manage the server outside of my home so I use an ssh client on my phone. This works, but each time I close the app and ...
5
votes
1answer
69 views

A GUI that runs on a remote computer, not the server?

In the past I have used Webmin to manage my linux servers. These days I primarily work off the command-line. I'm aware that one can install a GUI on linux servers, but this makes things much heavier ...
0
votes
0answers
26 views

rsync: Transfer vServer Backup to Windows Home PC?

Is it possible to transfer a rsync Backup directly to my Windows Computer at home (over the Internet), or is it just possible in a LAN? If not: Could you tell me a way how i could back it up and ...
0
votes
1answer
96 views

How to associate keyfile with a site on filezilla

Initially, I had a problem with creating a site within filezilla as I needed to use a private key to login to the server but there was no option listed for logging in with a keyfile. As per this ...
3
votes
1answer
37 views

Changing a process' output to ssh terminal

I have a simple python script: import time counter = 0 while True: print counter counter = counter + 1 time.sleep(10) Let's say this is running on my linuxbox inside LAN and is printing ...
0
votes
1answer
16 views

Anacron can't read ssh keys?

I've set anacron under the non-root user as follows: mkdir ~/.anacron cd ~/.anacron mkdir cron.daily cron.weekly cron.monthly spool etc My anacrontab in ~/.anacron/etc: # /etc/anacrontab: ...
1
vote
2answers
97 views

I broke my etc/network/interfaces file!

I'm trying to transfer a domain name to a new IP address, and am following this tutorial to enable IPv6 for my Digital Ocean droplet. I was on the step "Making the IPv6 Configuration Persistent," and ...
0
votes
1answer
179 views

SSH into a machine and then launch an interactive command line program

I would like to actually ssh into a machine (not remotely execute a command like ssh -i key.pem user@host 'bash -s' < script.sh) and then once that is complete run a command to launch an ...
0
votes
1answer
101 views

/usr/bin/pkexec failed

When I am creating an SSH public key and I'm prompted to enter my account's password the terminal returns bash: line 2: .ssh/authorized_keys: Permission denied When I open authorized_keys I cannot ...
0
votes
1answer
52 views

Putty not letting me to login to ubuntu remote server?

I am using amazon ec2 instance for one of my products and i am stuck with a very big problem. I am new to server and was just looking to configure UFW for only my ipaddress and i updated a rule for it ...
0
votes
0answers
12 views

Network configuration Ubuntu through IPMI

Hi guys been at this for about 17 hours now. Started this new job where I was supposed to be as a junior sysadmin, but been tasked to reinstall VPS through supermicro IPMI. now i saved the network ...
0
votes
0answers
64 views

sshfs permission denied even for root user

I use sshfs to mount a remote folder from another server to the local server. Mounting the remote folder works without a problem using the following command: sshfs -o allow_other ...
0
votes
1answer
135 views

Enable remote desktop on azure ubuntu

A few day before I created a virtual ubuntu machine o my MS azure. I have an ssh connection (via PuTTY) to this machine, but I just cannot get the remote desktop working. Well in fact, I'm pretty new ...
0
votes
1answer
65 views

rsync error script

I wrote a small script for rsync which does not work and I have no idea why: #!/bin/bash rsync \ -a \ --delete \ -b --backup-dir=/lunarc/nobackup/users/mcocdawc/.MIL53_backup/ \ --checksum \ -Pv ...
0
votes
0answers
310 views

ssh_exchange_identification: read: Connection reset by peer error

I suddenly got this error. I checked many post but none seem to workout. I am a newbie to this and I have a hard time getting my head around this. I could not make out much from the output. ...
0
votes
0answers
16 views

SSH for ROS and subscibing to a rostopic

This is the setup. I am using a laptop to perform object detection. I am also using a beagle bone black to move servo cameras. I need to treat the beaglebone as the master and subsribe to the data ...
0
votes
1answer
54 views

Unable to access Ubuntu network share from Windows, Ubuntu web interfaces are down and unable to access via PuTTY

first off I am very much a novice! I have a home media server running Ubuntu server 14.04.3 LTS On Thursday evening, after months of smooth operation, web interfaces for webmin etc. became ...
1
vote
1answer
202 views

How to connect to sftp in filezilla using private key

I've downloaded filezilla on Ubuntu 14.04 using the package manager (apt-get) and I'm currently setting up a site to transfer files for on the remote server I'm using. For the login type, I need to ...
3
votes
1answer
33 views

How to use fabric with juju

I'm using the python-django charm to deploy a small django-based site, with the local provider for test purposes. So far the deployment itself has worked, but I'd like to be able to manage the site ...
0
votes
0answers
118 views

I've disabled password authentication for SSH, so why can I still login through sFTP?

I've disabled password authentication for SSH and have setup the public/private keys so I can only login to my Ubuntu computer with my RSA key. If I try to login without a key then it won't let me. So ...
0
votes
1answer
620 views

SSH script password input [closed]

So I am running Linux Mint 17.2. I have a bash file I would like to run in terminal to login via SSH into my other mint 17.2 server. I am able to do this manually no problem, but when I try using ...
0
votes
0answers
82 views

ssh permission denied

i have openssh server installed with everything setup but when i ssh to the server with -vvv i get: OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015 debug1: Reading configuration data ...
0
votes
0answers
85 views

VNC Viewer with Ubuntu 14.4

Im trying to connect to my vagrant-ubuntu box using VNC Viewer but have isssues Error: "The connection was refused by host computer" I have installed the VNC Server vagrant 2324 0.0 0.1 ...
0
votes
0answers
98 views

Can't SSH to EC2 instance after Ubuntu upgrade

Summary: I have Ubuntu 12.04.3 LTS server running as an AWS EC2 instance. Using do-release-upgrade, 14.04.3 is installed without any problems. But after that I can't SSH into my instance. Both my ...
0
votes
1answer
90 views

NAT port forwarding using iptable doesn't work

I have a server with Ubuntu Server and a Xubuntu virtual machine on it, virtualization software is virt-manager. Ubuntu Server IP: 172.16.63.140 Xubuntu Virtual Machine IP: 192.168.122.4 I can do ...
0
votes
1answer
33 views

How to auto start a service if the server restarts

If I run the command sudo service --status-all all my services come up. I need 1 particular service to start in event of the server restarting please can you tell me the command? service spls ...
0
votes
2answers
64 views

Ubuntu server config remote access

I did a fresh clean install of Ubuntu server 14.04 LTS with out anything on it. First thing I want to set up after the installation is remote access. So I did: sudo apt-get install openssh-server ...
1
vote
1answer
106 views

How to script ssh-keygen with no password

I need to generate vagrant images that are configured as master/slave types. The slaves need to have SSH access to the master node, and there will be tens of thousands of slave instances. Vagrant ...
0
votes
0answers
65 views

How to setup Ubuntu server 14.04 with SSH

I have done about 10 hrs worth of research on this and cannot find anything that i can understand. I am a Linux noob and know next to nothing about networking. Here is my problem : I have a home ...
0
votes
0answers
60 views

SSH - Error: /root/.s3cfg: permission denied / Configuration file not available

I am trying to understand something between SSH and ansible set on inventory. I am running a playbook deployment and whenever I set the inventory like that : [status] qastatus ...
0
votes
1answer
240 views

Cannot ssh over pptp after upgrade to Ubuntu 15.10

After i upgraded to ubuntu 15.10 i cannot establish ssh connection to my server over pptp but i can ssh from my server to the upgraded pc. In local network ssh works fine. Also my nfs mounts hangs ...