Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

learn more… | top users | synonyms (2)

0
votes
0answers
11 views

how can i have ssh access to local PC (with share and dynamic ip) from a remote server( with static ip)? [on hold]

i want to access to my local PC (Ubuntu 14.4) from my server (CentOs) via ssh in order to control my local PC from every where. my local PC is connected to internet via a share ip and does not have ...
-5
votes
0answers
21 views

LINUX ADD USER Command shell [on hold]

Someone know how i can add a user with a directory and password already set, a single command?
0
votes
0answers
6 views

How to stream video from my Debian server? [on hold]

I have a dedicated debian server that contains a lot of video files and music files. I want to be able to watch these videos and listen to music from my laptop(also debian). Im primarily using VLC, ...
-3
votes
0answers
9 views

Can SSH puphpet configured Vagrant box, but can't ping or connect through browser [on hold]

We have a puphpet configured Vagrant box that works perfectly well on one mac, but then when run another machine of a similar configuration, we can SSH in to the box but can't ping it or load it's IP ...
0
votes
0answers
7 views

glusterfs unable to read gsyncd status file

Goal I wanted to try glusterfs geo-replication in some virtualboxes on my computer for later use distributed on multiple sites. Configuration I installed glusterfs 3.6 on ubuntu 32bit servers like ...
1
vote
0answers
12 views

Two allowed paths in rsync command in authorized_keys

I have a question about rsync restriction in authorized_keys command. I need to copy files via rsync from one server to another without prompting password. There is no problem, but I need to specify ...
1
vote
1answer
16 views

ssh remote command execution quoting

I found this solution that works for me, but I don't understand how it does work given that the sed command encloses its own parameter in single quotes, and the whole ssh command is also passed in ...
4
votes
3answers
58 views

Copying over SSH via Putty tools is slower than via WinSCP

Uploading from my Windows PC (1) to my Ubuntu machine (2) in another city using PuTTY tools is slow. I tested this over OpenVPN tunnel and via port forwarding to (2). It turns out that using rsync ...
1
vote
1answer
24 views

Issue connecting SSH after using rsync

Before using rsync to copy files from local to remote I was able to do passwordless login to the remote host using ssh. This always worked: $ ssh domaster Then I used rsync and everything was fine, ...
0
votes
0answers
16 views

Remote packet capturing using fifo and dumpcap

I'm currently working on two linux servers where one server is running in 2.6.18-274.el5(Server A) and the second one in CentOS 7 (Server B). My requirement is to capture the packets of the network ...
-1
votes
1answer
24 views

SFTP and SSH Logins [duplicate]

I've been doing my research and found some clues as to where I should be looking, but just can't quite get it perfect. I'm trying to create a new user, and allow them to have access to SFTP for file ...
0
votes
1answer
14 views

ssh tunneling lmgrd port what I've missed?

I've got 2 machines: one local , one flexserver I'd like to do a ssh connection for forwarding the TCP port of the flexserver. On the flexserver, lmutil lmstat -c 5280@localhost is working fine So I ...
0
votes
0answers
14 views

ldapsearch through ssh tunnel failing

I have following situation: 2 servers: a_server - this one from which I want to perform ldapsearch b_server - this is where LDAP directory located When I'm on b_server, this command ldapsearch -x ...
-1
votes
2answers
20 views

SSH key rejected by google compute engine instance

I generated my ssh key through the google sdk shell, then i went to put my key in FileZilla and connect to my google compute engine instance and it wont accept my key. How do i fix this?
15
votes
3answers
838 views

Is it possible to SSH access a server with a misconfigured subnet?

We have a server where one of our engineers misconfigured the subnet and now we are locked out of this server and the only access that I know of would work is a serial console from IDC (it means ...
0
votes
0answers
11 views

Using python to access SQL database with port forwarding [closed]

I am writing some python code to query a remote sql database. I can do this in a command line by setting up port forwarding and, in a different shell, running a mysql server. However I cant think of ...
0
votes
0answers
6 views

ssh bastion host proxy command [migrated]

This is a weird situation where the same command works when inputted directly in shell but not when it's a ProxyCommand in ssh config file. So this works: $ ssh -A -R 40022:git.some.pt:22 -t -t ...
0
votes
0answers
16 views

vagrant ssh - asks for password after adding synced_folder

I can vagrant ssh into my box fine Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Apr 13 13:05:26 2015 from 10.0.2.2 ...
0
votes
1answer
18 views

Can't connect to Ubuntu VPS via SSH,SFTP

When I try to login to my VPS using SSH and SFTP it's not connect to the server. Then I power off and power on the VPS by the VPS provider control panel (digital ocean). Once it boot up, first few ...
0
votes
1answer
14 views

Remote bash script execution via ssh causes local script to stop

I have a setup which behaves in a way i cannot get my head around. So I have a local bash script generateTrafficOnHosts.sh which reads IP addresses from a file. It then calls a bash script ...
0
votes
0answers
20 views

How to configure SSH host keys in cloudformation template?

I'm trying to configure an EC2 with known SSH host keys on boot using cloud-init in a cloudformation template. But now I can't SSH into the server. It's tricky to debug :-) Here's the userdata part ...
0
votes
0answers
8 views

Setup directory links in user SFTP root directory with copSSH on Windows

I'm trying to configure copSSH to allow a specific user to access several folders on the C drive. However, if I create simple directory symlinks (using mklink /d), then the SFTP clinet can't get into ...
0
votes
0answers
19 views

OpenSSH Won't Start on Ubuntu EC2 Instance

My Amazon EC2 instance's openssh server fails on boot ever since I scaled my instance. I have tried following these instructions here: ...
0
votes
0answers
11 views

Debian encrypted home directory setup fails

Here's the problem: # ecryptfs-migrate-home -u <user> INFO: Checking disk space, this may take a few moments. Please be patient. INFO: Checking for open files in /home/<user> Enter ...
0
votes
1answer
24 views

vmrun command not working with ssh [closed]

I need to start a VM Player, whose .vmx file resides in my Windows, remotely from some other Linux machine. So to access my windows m/c from linux m/c, I am using bitvise ssh server in my windows m/c ...
-1
votes
0answers
8 views

Encrypted ~/Private directory not mounting/unmounting via SSH [duplicate]

I'm using Debian 8. I can't seem to get my encrypted ~/Private directory working on my server. Here's what I did: Copied over SSH public key Installed ecryptfs-utils and modprobed'd ecryptfs Ran ...
0
votes
0answers
26 views

can' t access ec2 instance for additional user with sftp or ssh - key refused

I keep getting server refused our key error with putty/public key rejected error in filezilla when trying to access my ec2instance with a new user. Access works fine for both ssh and sftp with the ...
1
vote
0answers
20 views

Synology ssh port receiving too many intrusion attacks, how to ban systematically? [migrated]

I have a synology NAS which I leave at home, and leave it open so I can access it remotely from the office. One of the useful things to do is enable the ssh port so I can access it with my terminal. ...
0
votes
0answers
76 views

PHP version conflict in Amazon Linux EC2 instance

I've lunched a fresh instance from the AWS -> EC2 console panel. After that when I logged into the instance via SSH and executed the following line: (note I executed first the sudo yum update before ...
0
votes
1answer
20 views

Limit ssh access to only one Repo

I'm hosting multiple private repositories on bitbucket. I also have access to a private repository let's call it repo1, on bitbucket which is not mine but we pull from it on a server, let's call it ...
-1
votes
0answers
10 views

Postgre SQL , user with “SUPER USER” and all permission to particular database can't read a specific column [migrated]

Iam trying to edit a website , I created a user for myself and granted all permissions , and set up that user as SUPER USER , using the user postgres I still can't read a specific column (which is ...
2
votes
1answer
45 views

Moved /home to new disk, SELinux denying access to /home for sshd

Yesterday I added a drive to a Centos6 VM box, created a /home mount point on the drive and then moved a user (jenkins in this case) to it to free up space from the / mount point. This seemed to work ...
0
votes
0answers
32 views

SSH cluster made of computers connected by reverse SSH [on hold]

I have to make an SSH cluster made of Raspberry Pis with a Debian machine using ClusterSSH package to monitor them. The Pis are going to be sent on networks I have no information about, thus, ...
-1
votes
0answers
40 views

Is Teamviewer on Ubuntu installed wrong - got ID 0

I installed temviewer on remote ubuntu machine throught ssh. When I check it status it says status running. Trying to get ID sudo teamviewer --info print version, status, id TeamViewer ...
0
votes
0answers
28 views

VNC/SSH: How to execute a command after logging in? [migrated]

I'm looking for a way to create a VNC console user that executes the command screen or bash immediately after logging in so they get their own restricted shell for executing commands etc. Screen/bash ...
1
vote
1answer
28 views

RSync incremental backups, backing files that haven't changed. Does file access time cause a re-backup? [duplicate]

I backup my LAMP server using RSync over SSH. Currently, it's on an hourly incremental schedule. From a 14GB full backup, it's backing up a further 15~MB hourly. Looking at the files it's backing ...
1
vote
0answers
14 views

Connecting to EC2 via SSH within Vagrant

I manage a service that has two major components to it: A single product server which runs on EC2 A number of staging environments which runs within Vagrant The staging environment connects to the ...
0
votes
1answer
41 views

SSH timeout issues not consistent

I am not sure if anyone else have had issues with SSH timeout I setup a FRESH install of CentOS 6.5 minimal without touching the SSH congfig at all and when i log into it via SSH using putty..it ...
0
votes
1answer
61 views

Cannot access SSH & neither any other service

I have installed a RedHat-6 server as a virtual machine in a windows 2012 enterprise edition Hyper-V. The installation is over and I configured the static IP address using GUI tool provided in the top ...
0
votes
0answers
14 views

Accessing Git Repository on OpenShift: passphrase not recognized

I am trying to deploy an application on OpenShift. In order to deploy it, I am made available a git repository where I need to push my application. That repository can be accessed only after providing ...
0
votes
0answers
4 views

Keychain does not work in Cron [migrated]

I have a problem with my backup script which is using keychain. The script works fine when fired via command line but doesn't work as expected when called via cron (does not transfer any data to the ...
0
votes
2answers
43 views

Disable ssh login on specified time for particular users

I would like to disable ssh login to my system for particular users say X,and Y on specified time 17.00 to 18.00. so how to achieve this ? any help would be appreciated.
0
votes
1answer
8 views

Server connects without passphrase via putty but asks for passphrase from the native command line?

I am trying to connect to an EC2 instance and it has a .ppk security key. I am not an expert on server frankly and I am still try to figure things out by trail and error. I usually connect to my ...
0
votes
0answers
27 views

Unable to deploy laravel application on OpenShift

I have git pushed my entire Laravel code base for the application that I had created on my localhost to my OpenShift server. But nothing seems to have come out of it. The webpage is still blank. Can ...
0
votes
3answers
68 views

How to reset root password on a Linux VM on Windows Azure?

I have a Linux VM running for over a year on Azure. I have forgotten the password to my account. I am however still able to ssh into the vm as it has my ssh key. Note that the root account does not ...
5
votes
2answers
520 views

Automatically set SSH user

I have one ssh server that I seldom connect to and which requires to use a different user than the one I use to log in to my system. When I just execute ssh example.com then ssh will automatically use ...
0
votes
0answers
24 views

Strange issue with nginx proxy upstream and ssh port forwarding

We were using nginx legacy till now, but we upgraded our system to 1.6.2 recently. We have a port forwarding of ssh as well as load balanced nginx server for two separate internal servers. The ...
2
votes
0answers
77 views

One-liner to create UNIX user, add in SSH key, disable root over SSH [closed]

For many low end hosting solutions you get a virtual machine with a root SSH access. The first thing you need to do is to add new UNIX user (you), add SSH key, check SSH connection works and then ...
1
vote
1answer
56 views

Permission Denied (Publickey) from OS X to Ubuntu

I know this question has been asked more than a few times, but I can't work it out on my machine and I feel like I have tried everything. I want to log into my ubuntu machine with ssh using a public ...
0
votes
0answers
15 views

Sftp Log for every Jailed User

I've a sshd_config file like the following: Match user foo ChrootDirectory /mnt/foo-jail/ ForceCommand internal-sftp AllowTCPForwarding no AuthorizedKeysFile ...