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

learn more… | top users | synonyms (2)

0
votes
0answers
4 views

Connectivity issues (slow response) to a remote VM via SSH

I am on a linux machine trying to Ssh into a remote Centos 6.4 server via VPN. The server often gets disconnected and response too is slow. I see the messages on the console once in a while: debug2: ...
0
votes
1answer
23 views

Permission denied (public key) ssh ec2 instance mac

Update2: $ ls -ld ~/.ssh drwx------ 8 user staff 272 2 Oct 17:51 /Users/user/.ssh $ ls -la ~/.ssh/config/file.pem -r--------@ 1 user staff 1692 2 Oct 17:11 /Users/user/.ssh/config/file.pem $ ls ...
0
votes
1answer
14 views

How to access unreachable AWS instance?

I have an AWS instance that suddenly I've lost access both by SSH and to the web server there. I used to access by a public Elastic IP (54.76.201.91), so I know for sure that Security Groups are ok. ...
0
votes
1answer
2k views

Can't connect to windows via ssh

I downloaded cygwin and ran ssh-host-config. I'm trying to connect using ssh -l micah myserver it then says micah@myserver's password: I enter the same password I use to log into windows and it ...
2
votes
2answers
236 views
+50

Restricting the network access of Docker container

I'm in the process of creating an SFTP only Docker container, one that will be used by multiple people for the sole purpose of uploading and managing files in their own Chrooted Environment. On ...
1
vote
2answers
49 views

Recover sudo password of server over ssh

I am working on an ubuntu 12.04 server and i was not provided a sudo password. Now i need to recover it. I found out that we need to reboot into recovery mode to do so but we don't know how to get ...
0
votes
1answer
26 views

Centos : su: incorrect password after bash update

A few days ago I've updated the bash to patch it agains Shellshock and since then I cannot su - root from my regular 'wheelgroupuser' account on Centos 6.5 with WHM. I'm constantly getting su: ...
0
votes
2answers
24 views

SSH Passphrase for ppk file

I'm trying to connect to EC2 server, using .ppk file ssh -i key.ppk -l root@dns-name The issue is that, the shell asks for passphrase ? i don't know what is it! Am able to use this key using ...
0
votes
2answers
24 views

How can I use SSH to run Cisco IOS commands in Global config mode?

I know about Kron, but there is supposedly no way to run global config commands: http://www.techrepublic.com/article/schedule-commands-with-cisco-ios-kron/ If I connect using Putty, Putty is able to ...
0
votes
1answer
15 views

Unable to ssh EC2 using password - “Disconnected: No supported authentication methods available (server sent: publickey)”

I have followed the following steps https://coderwall.com/p/j5nk9w This is what I did 1) $ sudo useradd -s /bin/bash -m -d /home/newuser -g root newuser Entered the Password for the newuser 2)$ ...
0
votes
0answers
11 views

how to configure ldap users logs in centos 6? [on hold]

We have Openldap configured here and users are able to use ldap for login to client machines. But how to configure the ldap users logs in ldapserver? pls tell me how to configure for that in cent os ...
0
votes
0answers
8 views

Disconnect SSH sessions from user side IBM 4690

I need SSH session to be disconnected after 45 sec inactivity. on IBM 4690 SSH server settings are: TCPKeepAlive no ClientAliveCountMax 3 ClientAliveInterval 15 But when I do packet capture ...
-7
votes
0answers
27 views

SSH Blocked (even on port 80) [on hold]

I'm trying to SSH into my Raspberry Pi at home, and my school blocks SSH. I tried both port 80 and 443. Also, OpenVPN and PPTP is blocked, so I don't know how to bypass it.
1
vote
2answers
3k views

git ssh problems

I have a git repo I am trying to use this command on a remote. $ git push origin master ssh: connect to host port 22: Bad file number fatal: The remote end hung up unexpectedly. I am trying to do ...
-1
votes
3answers
1k views

ssh and Offending key for IP in /root/.ssh/known_hosts

Why or why am I getting this error on server A trying to connect to server B????? ssh root@zk.111.sf.development.cloudera.fu.com Warning: the ECDSA host key for ...
0
votes
2answers
5k views

Gitlab not working with SSH Keys

I am having issues with Gitlab. I used the following guide to install and configure Gitlab https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md. The installation seemed to ...
0
votes
1answer
765 views

Centos set default ftp directory for a user

I am setting up accounts for people to connect to the server through ssh and SFTP. When I test the login, it goes straight to the "/" directory, and I do not want that to happen. I want to make it so ...
-1
votes
2answers
774 views

SSH connection timed out [on hold]

Every time I try to ssh into my computer from my chromebook $ssh -vvv user@***.**.***.*** I get the following output OpenSSH_5.2p1, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data ...
-3
votes
1answer
36 views

Linux filezilla cannot connect however there is no issue on windows

I am trying to connect to my server using secrue ftp (SFTP). On Windows I have no problem however on my Linux computer I get the following error: status: Connecting to 89.104.207.220... Response: ...
0
votes
0answers
26 views

“Lock” a certain user to a certain user in SSH (Cygwin)?

I need to give access to a remote user via SSH (Cygwin) in a Windows 2008 R2 box, but the user must see only his /home folder, and cannot read, write or list contents from another folder. The user ...
0
votes
2answers
18 views

Automate ssh serial-over-LAN connection to SuperMicro IPMI via Putty

I recently found instructions on how to take advantage of the SuperMicro's serial-over-LAN remote console via SSH. The challenge is after the SSH login a few commands must be executed to start the ...
1
vote
1answer
61 views

Trying to get SSH with public key (no password) + google authenticator working on Ubuntu 14.04.1

I'm using Ubuntu 14.04.1 (with OpenSSH 6.6 and libpam-google-authenticator 20130529-2). I'm trying to set up SSH logins where the public key authenticates (without a password) and a user is prompted ...
0
votes
1answer
25 views

ssh not resolving updated CNAMES

I have an alias for SSHing in to a specific machine. The alias uses a hostname like so: ssh user@example.com Example.com is a CNAME. For some reason, I can dig the hostname after I change the ...
0
votes
0answers
5 views

how to ssh into a vagrant box when working with multi-vagrant environments?

I have two vagrant boxes (wordpress VVV and laravel homestead) running at the moment at the same time. I always ssh to the machine with putty 127.0.1.1:2222 if I run vagrant homestead first I can only ...
2
votes
10answers
8k views

Restrict root ssh from all but one IP/hostname

I'm wanting to restrict root ssh login coming from all but a single IP address. I was under the impression that I just had to add this to /etc/pam.d/sshd: account required pam_access.so and this ...
-1
votes
0answers
14 views

How to add and mount given a UUID? LMV2

I can't activate these Volume Groups. I have two HDDs attached, both share the same Volume Group name. Basically, the two HDDs are dev/sda and dev/sdb. The second HDD is the failed HDD and the first ...
1
vote
1answer
838 views

SVN server with svn+ssh protocol over custom port

I am running Ubuntu 12.04.2 LTS as virtual machine and there is vShield also at the front with enabled firewall and some NAT modifications. There are also other machines in my VPS configuration, but ...
-2
votes
0answers
34 views

How to access data from secondary HDD without mounting it? SSH/SFTP [on hold]

My old HDD failed and so I made my old HDD my secondary drive and the new HDD my primary drive. Now, I can't access the contents of my old HDD. How do I do this? Please keep in mind that I cannot ...
-2
votes
0answers
30 views

How to boot from a secondary device via SSH? [on hold]

I am using Putty and after my HDD failed, I attached a new HDD as my primary and placed the failed HDD as my secondary. I want to access some files from the secondary but imaging it creates a file ...
-2
votes
2answers
36 views

Is there a simple way to automatically send through scp any file modified in a folder to a remote folder? (one-way synchronization) [on hold]

Put it simply: I have a folder full of files and subfolders with more files. I would like to have a mirror of that folder in a remote server so anytime a file is modified on my machine it gets ...
1
vote
1answer
1k views

Zenoss: Getting SNMP stats over SSH

I have the SSH connection working. I have it successfully modeling the device (Ubuntu Server, in this case). What I can't get to work is the SNMP portion. It sounds like I have to custom add the ...
0
votes
2answers
2k views

Start and shutdown tomcat via ssh

Updated I find out that the path of jdk it using is wrong. eval: 1: /opt/Java/jdk1.6.0_25/jre/bin/java: not found the Java should be lower case java, how is that happen? When I run this script ...
-2
votes
0answers
17 views

sftp server unexpectedly closed network connection [on hold]

Sftp was working just fine yesterday and today i've tried to connect using winscp and i've got this error "server unexpectedly closed network connection". I've tried to use filezilla and it 's thrown ...
0
votes
0answers
6 views

Cannot add ssh keys in cloudstack

I used this guide for use ssh keys in cloudstack. https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/using-sshkeys.html I'm using a debian instance. Once I run ...
0
votes
1answer
28 views

how to access a private host through a public one

I have a number of AWS EC2 instances, one of them has a public IP address, the rest do not have public IP addresses. I have set up SSH access to the public machine using a private/public key pair. I ...
1
vote
2answers
70 views

How to log ssh client connection/command?

I would like to know how i could log SSH command lines a user is using on a server. For exemple, if the user Alex on my server is doing the following set of commands : $ cd /tmp $ touch myfile $ ssh ...
9
votes
2answers
2k views

Why is “AcceptEnv *” considered insecure?

In /etc/ssh/sshd_config, there is an option called AcceptEnv that allows the ssh client to send environment variables. I need to be able to send a large number of environment variables. These change ...
43
votes
5answers
44k views

Can I automatically add a new host to known_hosts?

Here's my situation; I'm setting up a test harness that will, from a central client, launch a number of virtual machine instances and then execute commands on them via SSH. The virtual machines will ...
1
vote
2answers
51 views

reverse ssh tunnel over stunnel (or just reverse back down the stunnel connection)

I'm creating a security "dropbox" that can be deployed behind nat or any firewall, call out to a controlled publicly accessible server and then initiate control from the server. I know this is easily ...
0
votes
1answer
20 views

How to forward SSH agent connection to unqualified hostnames by default?

I have a number of local domains in my resolv.conf search order. I would very much like to forward SSH agent by default when I connect to an unqualified (without DNS suffix) hostname. The best I've ...
0
votes
3answers
78 views

PubKey Authentication not Working

I tried setting up PubKey authentication between my Mac and CentOS dedi server, but something is up... Here's the steps I took: ssh-keygen -t rsa Then chmod 700 .ssh/ && chmod 600 ...
-1
votes
0answers
27 views

How secure is my setup? [closed]

I have a question to ask but if this is not the correct place to ask, please kindly refer me to it. Thanks in advance. I am planning to setup a IIS server in a VM. The VM lives in physical computer ...
1
vote
0answers
25 views

Centralize way to prevent interactive logins

I have an Ubuntu server that is used for two primary purposes for my students: To hold on to files that students need to temporarily upload for my assessment (ie: I give them an input image, and ...
0
votes
2answers
28 views

Is there a parallel SSH client with grid output similar to multitail [closed]

I've used multitail to monitor multiple log files on a single machine and displaying them in a "grid view" (2x3 or something similar). I was wondering if there is any such tool for SSH? Anything that ...
3
votes
3answers
96 views

How can I connect to multiple servers efficiently with ssh using Linux

We run a VSphere at the office, meaning I am using a lot of different ssh connections to systems. I really like Mputty and MobaXterm on Windows, because they save and remember how I connected to my ...
0
votes
1answer
23 views

Ubuntu 12.04 VPS SSH not running, how to reset SSH configuration files?

Yesterday after I re - enabled root user and rebooted the VPS, now SSH and SFTP are not running. FTP working. I can only connect this VPS via VPS provider web based console. When I run "ssh ...
0
votes
1answer
29 views

How to distribute root files with expect?

I've recently learned how great expect is, now that I'm suddenly responsible for managing 150 VMs. I've been using it to distribute config files to remote servers, but there's got to be a better way ...
1
vote
2answers
1k views

SFTP not working, but SSH is

I've had a server running CentOS for a few months now. A few days ago, I stopped being able to connect to it over SFTP. I've tried from multiple computers, OSes, clients, and internet connections. I ...
-3
votes
0answers
25 views

Linux command to find and remove the malware script from the website files [closed]

Can some one let me know the linux script or command that will search for the malware patterns and remove those from the website files. Please note that the "sed" utility is blocked on the server ...
14
votes
4answers
3k views

Non interactive git clone (ssh fingerprint prompt)

I want to clone a repo in a non-interactive way. When cloning, git asks to confirm host's fingerprint: The authenticity of host 'bitbucket.org (207.223.240.182)' can't be established. RSA key ...