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
1answer
23 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
50 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
33 views

SSH cluster made of computers connected by reverse SSH [closed]

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, ...
0
votes
0answers
48 views

Is Teamviewer on Ubuntu installed wrong - got ID 0 [on hold]

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
31 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
16 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
72 views

Cannot access SSH & neither any other service

I have installed a Red Hat 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 ...
0
votes
0answers
15 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
45 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
9 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
30 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
80 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
530 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
28 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
81 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
62 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
18 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 ...
0
votes
0answers
72 views

Socks proxy on Mac OS Yosemite

I can't figure out why my ssh-created socks proxy works with curl but not with Chrome + Mac OS Yosemite. Socks proxy created with ssh -D 8080 -p 5432 -i mypubkey.pem my-user@my_server_ip Tested with ...
-1
votes
1answer
23 views

how to configure fail login delay using iptables

Like in Subject, I need to set particular delay i.e. when wrong password is provided. I can't use PAM. Thanks for any help.
1
vote
3answers
71 views

Using a computer with many COM ports as a low cost out of band solution?

I'm trying to come up with a cheapo out of band solution for my cisco routers in our data center. I want to be able to access them directly from the console remotely so if they are not accessible from ...
5
votes
1answer
116 views

Best way to restrict some SSH users to publickey authentication only (disable password authentication)

I'm running Mac OS X Server.app on Yosemite and I have SSH enabled for users with the default settings in /etc/sshd_config (publickey and password auth enabled by default). However, I need to ...
1
vote
1answer
29 views

(ssh) Connection closed by

unfortunately I don't have access to ssh server, I can only see: Platform: i586-pc-linux-gnu Compiled with: liblua-5.2.3 openssl-1.0.1k libpcre-8.35 libpcap-1.6.2 nmap-libdnet-1.12 ipv6 Compiled ...
1
vote
0answers
54 views

CentOS 6.5 ssh ChrootDirectory not working

I have been trying to configure my CentOS 6.5 minimal 64 bit machine to allow SFTP users to connect and get jailed to specific folders. I can sftp in using the unix commmand: "sftp user@localhost" and ...
1
vote
1answer
53 views

Chroot on Ubuntu 14.04.2 using Jailkit - /dev/pts No such file or directory

For the past few days I've been trying to setup a chroot on my Ubuntu server but I've been running into an issue. I've tried several different methods of setting up a chroot on Ubuntu including just ...
-2
votes
0answers
14 views

SSH to local machine over internet vs over local network [migrated]

I can SSH into a machine on the local network in two ways: (1) Via local ip: ssh 192.168.1.xxx (2) Over internet (using port forwarding): ssh -p xxx mydomain.com What are the differences? In ...
0
votes
0answers
3 views

CoreOS on VirtualBox only works with one adapter at a time [migrated]

I'm trying to learn more about CoreOS. (I'm not using Vagrant, just plain-old VirtualBox.) So I created a disk using coreos-install. Unfortunately, I can't find my original cloud-config.yaml file, but ...
-2
votes
0answers
28 views

Connect to database server inside a tunnel inside a router [migrated]

I'm using Ubuntu and trying to connect to a database server wich is accessed by a tunnel in my server wich is inside a router and I only have ssh connection to my server. Is there a way to do that? ...
1
vote
2answers
38 views

sshd: logging client's public key

I need to run an SSH server and log the IP & public key of any client that attempts to connect (without actually granting access). The use case is this: I deploy this web app to a remote host ...
-1
votes
0answers
24 views

How I can change all symlink to the new path [migrated]

Please, I want to change the symlink to the new path My symlink's in this form lrwxrwxrwx. 1 s01 s01 56 Mar 22 13:17 zmjppcxlpq2m.png -> /home/s01/public_html/cgi-bin/uploads/00029/zmjppcxlpq2m ...
-1
votes
1answer
24 views

Linux SSH abnormal activity

I found an IP 192.168.1.100 accessed to localhost with public key successfully for 38204 times within two weeks. I checked secure file for more detail about this IP. This client logged in for every ...
-1
votes
0answers
12 views

ssh without password multiple shared hosts [migrated]

Hey I know this is a simple task but i was getting some trouble do to my setup. I have 3 servers on which i want to be able to ssh without being prompt a password. But the thing is each of those ...
0
votes
1answer
51 views

How to scp file to remote servers' root directory and run sudo commands?

NOTE: The servers does not share the same password but I will setup no-password login at first. Here's the use case, I need to do these below step by step in my deploy.sh: scp files to remote ...
10
votes
2answers
599 views

SSH: Safe for client to host private RSA key?

Is it safe to generate a public/private key pair on the server, add the public key to the authorized_keys list, and then copy the private key to each client, as described here ...
1
vote
1answer
55 views

OpenShift access via terminal (SSH) [Permission denied (publickey,gssapi-keyex,gssapi-with-mic).]

I'm currently sitting on Ubuntu and would like remote access to my application on OpenShift. I have done the following to create a ssh-rsa key (I've replaced the fingerprint with xx:xx...): > ...
2
votes
1answer
44 views

SSH key authentication not working

I've a server running Ubuntu 10.04 (as a VM) to which I can't connect using ssh key authentication without being asked for the password. I've read a lot before posting but I really don't know what I'm ...
0
votes
1answer
24 views

Capistrano 3 hangs in git:check

I'm trying to deploy to a new ubuntu 14.04 box with cap staging deploy, but capistrano hangs during the git:check task: GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/<app_name>/git-ssh.sh /usr/bin/env git ...
0
votes
2answers
43 views

ssh pass original user to environment on server [closed]

First off, i do not know wether passing the information to the environment is the best approach, so i will start by detailing what i actually want to achieve. on a corporate scale, there are servers ...
2
votes
1answer
57 views

ssh command line specify server host key fingerprint

Using ssh command line (OpenSSH), can I specify the server's host key fingerprint? This is possible with winscp.com using (e.g.) -hostkey="ssh-rsa 2048 AA:BB:CC...etc I have read the man page a ...
2
votes
2answers
55 views

AuthorizedKeysCommand in OpenSSH without user

Is it possible to configure OpenSSH to invoke the AuthorizedKeysCommand without a matching user being registered locally on the host machine?
1
vote
1answer
21 views

Determine which key is successfully used for authentication with AuthorizedKeyCommands

As of OpenSSH 6.2, the option to use an external program for key pair based authentication is available with AuthorizedKeysCommand. According to the sshd_config man page, this program should return ...
1
vote
1answer
45 views

SSH/SFTP over WiFi issues

Some time ago we have purchased a Wireless Controller (AIR-CT2504-K9) with few Access Points (MIMO 3x3). The number of users on one access point is around 20-25 simultaneously. As I have understood ...
0
votes
1answer
55 views

Why can't I ssh to the Ubuntu VM in azure?

I created a fresh VM with Ubuntu 14.04 image in windows azure. I'm trying to connect the VM with with ssh. But it showing something like. Can you help me to understand on what went wrong here? Here ...
-2
votes
1answer
34 views

Is there a possibility to have a web ssh interface? [closed]

is there a way to make a web interface for ssh on Ubuntu? Something like Digital ocean's method is what we are currently in need of.
-1
votes
1answer
33 views

How to get ssh to automatically use a certain port for a specific server?

I use ssh to get into a specific server on a specific port as normal: ssh -p <port_number> <server_name> How do I configure ssh to automatically use the right port number for a specific ...
3
votes
1answer
57 views

Disable two step SSH authentication for trusted addresses

I'm using libpam-google-authenticator for two step SSH authentication which is great and adds another level of security to my server. My question: Is it possible to disable this for certain addresses. ...
1
vote
1answer
79 views

Can't SSH to any servers

It's for a day that I can't login through SSH to my servers. Using both Putty and MobaXterm. MobaXterm ends with: debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY Read ...