Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

-1
votes
0answers
15 views

Preview of tty1 console via SSH or VNC

I just made a raspberry pi that runs omxplayer in autostart (tty1) and play some videos (ads). I have access to raspberry in local network. Is there any way to connect to raspberry by SSH (or vnc) and ...
1
vote
2answers
34 views

FTP, SSH and other access not reliable on home server

I am trying to understand why my connections to my server via ssh or ftp are spotty and will sometimes disconnect. The website itself that is currently running on the server has no issues whatsoever. ...
-1
votes
0answers
26 views

How to correctly setup a SSH Key @ forge.laravel.com? [migrated]

I created a server on Linode using forge.laravel. Everything seems to work fine but now I'm trying to access the server via SSH. Forge by default creates servers that do now allow SSH access via ...
1
vote
2answers
37 views

Locked out of ssh, with no root access

So, I have configured my linux ubuntu 14.04 box for ssh on port 22 with root login via private / public key, no password login. I have iptables setup to block all incoming connections except for ...
1
vote
2answers
44 views

How to use SSH for web application login?

Is it possible to hook a web application's login to an SSH server? I'd like to have access to a web control panel hooked to an SSH user group. They could use the same password for the control panel ...
0
votes
1answer
27 views

Why can't I SSH into a new EC2 instance I created from an AMI I generated?

I followed the procedures here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html with the exception that I did not shut down the original instance, just let AWS reboot it. ...
0
votes
0answers
5 views

Hostname missing on Debian 7 Linode after logging in [duplicate]

Linux n00b here running Debian 7.3 on a Linode box. Please bear with me :) I haven't logged into my Linode in a while (3 months?) and when I logged in today via SSH I noticed the hostname is missing: ...
0
votes
0answers
21 views

Get git + ssh to work without user owned .ssh/config

What's wrong At the moment, git gives me: Bad owner or permissions on ~/.ssh/config fatal: The remote end hung up unexpectedly when I try to pull a repo. Why I'm not just going to do what the ...
0
votes
0answers
9 views

Port forwarding does not work [migrated]

I am connecting to office network through VPN. I have two servers A and B. I have ssh/tomcat access to A through VPN but not to B. When I ssh into A, from there I can ssh into B. Also, B is running ...
0
votes
0answers
15 views

How to Prioritise ssh logins (nice)

Exact duplicate of this question, which has an accepted answer that doesn't solve the problem. How do I set sshd to run with a higher priority, so that even if the system is massively overloaded ...
0
votes
0answers
14 views

Newly setup Centos 6 server, cloning from .GIT as user other than ROOT [duplicate]

Apologies for being so new and lost, i'm brand new to all of this and the more I search the more I feel I'm getting closer, but then realize i'm lost. I setup a CentOS 6 server on an Amazon E2 ...
0
votes
1answer
38 views

Need help - limit access to sftp user to other users home->subfolder

I have been able to find a lot of help with jailing a user to their own home folder and restricting them only to sftp but I working on a more advanced solution. What I am trying to do and can't find ...
1
vote
1answer
27 views

SSH connection - after some time I can't type anything

This keeps hapenning on which ever server I am connected to. I type: ssh user@server I log in, everything works for a couple of minutes. But after some time, possibly when I switch to other ...
1
vote
2answers
53 views

Allow only first login to ssh with password

I would like to allow to first remote login via ssh using password for a new users. After that authentication should be restricted to public key. How to deal with that? I mean how to restrict second ...
1
vote
1answer
184 views

Trouble changing SSH port

I'm running a CENTOS web server with WHM and CSF firewall. I'm trying to change SSH from the default port. I've opened up the port in CSF and modified /etc/ssh/sshd_config uncommenting the port line ...
-1
votes
0answers
13 views

Can't add user to gitolite server

I have gitolite server installed on debian 7. When I add users through the gitolite-admin repo, their keys appears in the /home/gitolite/.ssh/authorized_keys, however they can't login. Output from ...
1
vote
0answers
34 views

How to restore clonezilla image having only ssh access and no free partition?

There might be possibly more than one right answer. Having little experience in the area, I'm asking about the best / most reasobable way to manage my tools and resources in this particular task. The ...
0
votes
1answer
43 views

better way to loop through a list of servers

I regularly do things where I loop through a list of servers to take some action. For example: for s in `cat servers.txt` ; do echo; echo $s ssh $s 'do something' done I'm wondering (from a ...
15
votes
2answers
537 views

Does Rsync Allow Files To Be Synced Both Ways?

I have backed up a linux web server using rsync with cygwin. I now have a perfect copy of the server on my windows laptop. If i delete or modify a file on my laptop and run rsync again with cygwin ...
3
votes
4answers
145 views

IPTables: allow outgoing SSH

I tried to write my rules for securing a web server with just http/https, apt-get updates, sending mails SSH access. So far I've done that: IPT=/sbin/iptables $IPT -F $IPT -X $IPT -t nat -F $IPT -t ...
3
votes
6answers
264 views

How to backup large directory from linux server to windows machine

Up until now ive been using FTP to connect to the server and copy the files to my local machine but the directory has grown 3gb in the past few weeks and it usually takes 40mins to copy 100mb so FTP ...
1
vote
1answer
27 views

OpenSSH daemon ignores ServerKeyBits directive

I'm having an issue with my Fedora 19 x86_64 virtual machine. It seems to ignore my 4096-bit key setting. I've set the ServerKeyBits directive to 4096, stopped the sshd service, deleted all host keys ...
0
votes
1answer
27 views

Bash function hangs while command run perfectly without function

Following function hangs : ssh() { local RESULTS; RESULTS=$(ssh $USERNAME@$SERVER $SSH_COMMAND1); echo $RESULTS; } ssh; while if i run following commands they work fine : ...
-1
votes
0answers
38 views

SSH seg fault works with sudo [closed]

I try to ssh to a server and I get "Segmentation fault (core dumped)". If I sudo ssh it works fine though. I tried reinstalling openssh-server with no luck.. SSH works fine on the server since I can ...
0
votes
1answer
31 views

SSH Tunnel - Proxy Not Working From Remote Location (Login is working)

I have just set up a Cygwin SSH server and successfully tunneled to it from a remote location. Logging in works but when I point my browser to localhost 8888 (sock 5), all connections are refused. ...
1
vote
0answers
22 views

Git does not prompt for ssh key password [migrated]

I have an ssh key which is password protected. When I attempt to SSH into a remote computer (ssh user@example.com), I get a little dialog which prompts me for the password. Once I have provided the ...
0
votes
1answer
21 views

How to notify a handler at the end of execution?

I have a Rackspace instance that I use for testing. I am using a seperate user for running Ansible, and due to my SSH configuration update tasks, if I notify the "restart ssh" task when needed, later ...
0
votes
1answer
20 views

Setting up a chrooted SFTP user in a directory whose parent has group write permissions

I have a user who only has sftp privileges (no ssh) and who is chrooted in SFTP to /data/docker. /data (which is a separate drive) has 775 permissions and I'd like to keep it that way. However, when ...
-2
votes
1answer
45 views

Why I am not able to ssh as root?

root@web04:~# ssh -v -i.ssh/id_rsa root@11.11.11.4 OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012 Warning: Identity file .ssh/id_rsa not accessible: No such file or directory. debug1: ...
6
votes
2answers
314 views

ssh is no longer using ~/.ssh/config

I cannot ssh anything I was able to. After a little digging I found out that it's not reading ssh config from my home directory. $ ssh -xvvv server OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: ...
0
votes
1answer
27 views

scp to remote server permission denied

I try to copy files to a remote server (OSXServer) using scp. I have 2 user accounts on that server with what I thought the exact same settings. Now I tried the copying files into the respective home ...
1
vote
1answer
45 views

How can I disable/suppress the warning I get for having SSH enabled on an ESX/ESXi host?

I administer a large number of ESXi hosts, and in order to do that efficiently, I pretty much need to have SSH allowed into the hosts at all times, as it's just far too burdensome to enable and ...
0
votes
2answers
47 views

Access local console via SSH

I am searching for a way to interact with a local console via SSH - just as you would do with an directly connected keyboard. In my particular case I got a debian server (console only, no X system) ...
5
votes
1answer
42 views

Send interactive zoning commands to Brocade switch

I have a Brocade FC switch that I'd like to do some zoning on. I have a build file with too many lines to copy-paste into a normal interactive session, and I have ssh set up with pre-shared keys ...
-3
votes
1answer
29 views

Use ssh to tunnel to another device with putty

I currently use ssh to tunnel to port 80 on a server remotely. Is it possible that I can tunnel to another device on the remote network that I'm connecting to? I can obviously ping the node from the ...
0
votes
0answers
13 views

SMB reverse port forward fails to connect

I have a rather complex server setup consisting of a reverse SSH tunnel through a Linux VPS. Namely, server A is a Mac Mini and runs a script which reverse tunnels to the VPS, which we'll call B. ...
1
vote
1answer
25 views

ssh connection freeze after password phase

I'm trying to connect to a server (Oracle Linux 6.3) and after I insert the password the session just freeze. I checked the audit log and I've authenticated successfully, after I restarted the ...
0
votes
2answers
26 views

Can I limit my autoSSH Tunneling Speed with trickle and ssh config file option?

When I use only ~$ autossh site1 it work perfectly, but whit trickle the pameter site1 is considered as DNS Name instead of conf block. User@VM:~$ sudo trickle -d 10 -u 10 -- autossh site1 [sudo] ...
0
votes
1answer
52 views

Docker doesn't start MONGODB, and IPAddress doesn't appear, when started with other services

I have been trying to build an OS image from Fedora unsuccessfully to start the following: Systemd SSHD RabbitMQ MongoDB I can get the first 3 (Systemd, SSHD and RabbitMQ-Server) to work. I can ...
-2
votes
0answers
24 views

After recover sshd_config on my VPS my TeamSpeak 3 client can't connect with server [migrated]

I'm destroy my default sshd_config file in /etc/ssh/ on my VPS and I'm recover this to default one. After this I'm trying to connect with my TS3 server on this same VPS. OS says me TS is ON and ...
-1
votes
0answers
72 views

No route to host: I can SSH to myself via the IP my router assigns me but not to myself via the IP my ISP assigns me [migrated]

I'm positive this question has been answered somewhere else but I'm not sure what to search for. (I'm trying things like "telnet ubuntu ssh daemon unable to connect".) I can SSH into 10.0.0.9 I can ...
0
votes
1answer
36 views

Can't gain access to SFTP after changes in /etc/ssh/sshd_config

I simply trying to make some changes in sshd_config file with port and other line (don't remember which one) and now I can't log in to my SFTP. It is possible to make some changes in this file using ...
0
votes
3answers
66 views

Tail a file from ssh and mirror to a local file

To tail a file over ssh, I can use ssh -t remotebox "tail -f /var/log/remote.log" However, it is possible to sync the tail with a local file? So a file automatically mirror the update of the tail ...
-2
votes
1answer
75 views

How to ssh localhost login without password [closed]

My os is OSX.When I do ssh localhost, always ask password to me.But I don't know password.How to login without password. ➜ ~ rm -rf ~/.ssh ➜ ~ ssh-keygen ➜ ~ ls -lstra ~/.ssh ...
0
votes
2answers
45 views

Forward SSH request to an External Server to an Internal Server

I have a VM config currently where I have 1 external IP pointing to a VM with an Nginx HTTP Reverse proxy serving HTTP Web Pages from several internal VMs without external IPs. I need a similar setup ...
0
votes
1answer
20 views

Allow ssh access to git pull on remote machine

We have a server with some of our git repositories on and I would like to be able to clone one to our webserver (which runs debian). I ran ssh-keygen on the webserver and copied the public key into ...
6
votes
2answers
211 views

Manage SSH Users with MySQL backend

is there a possibility to use a (mysql) Database to manage SSH login credentials instead of /etc/passwd ? I know I could use ldap but I only want simple user management and ldap seems a little bit ...
0
votes
3answers
50 views

Is there a command for allowusers in sshd?

Is there a command to allow / deny users in OpenSSH server (sshd)? I know you can add AllowUser / DenyUser in the sshd_config and reload the server but I'm trying to come up with a generic way that ...
-3
votes
1answer
58 views

SSH - Connection refused [closed]

I have setup on a server VMware ESXi 5.5.0. I have add the operating system Oracle Linux 5 I'm trying to setup ssh for local computers that runs on Ubuntu. But I get the error Connection refused. I ...
2
votes
0answers
67 views

Running Ansible locally inside a Dockerfile SSH authentication issue

I'm unable to run my ansible playbook inside a Dockerfile due to authentication issues. Here's my dockerfile: FROM ubuntu:14.04 MAINTAINER hyperfocus # Update system and install ansible RUN apt-get ...