Secure Shell (SSH) is a protocol primarily for encrypted shell connections.
0
votes
1answer
21 views
Create an SSH tunnel with authentication keys - Syntax
I have to create an SSH tunnel to connect a deployment server to an VPN:
DeploymentServer --> Gateway --> PrivateServer
Each machine using a key, I tried the following command:
myMachine $ ...
-2
votes
1answer
37 views
Can't SSH to EC2 specific port
I'm would like to open an SSH connection between my local machine and an EC2 instance.
I added my local IP (static) with this port to the 'Groups Permissions' but it doesn't work yet.
When I do:
...
-3
votes
0answers
31 views
Is it possible to access SSH server that is connected to a public WiFi network? [closed]
I have a laptop which has SSH server set up. When laptop is connected to my home network — there's no problem, since I can setup port forwarding at the Router. The question, will I be able to make my ...
0
votes
1answer
29 views
Blocking Port 22 From Unknown IPs Security Measure
A server I'm working on has blocked all unknown addresses from accessing port 22 (via a firewall). An IP address has to be added to the firewall first via a control panel (or command line) before it ...
-2
votes
2answers
29 views
Cannot source .bashrc over SSH
Logging into my work station over SSH, I notice that none of my aliases work. Sure enough:
$ alias
$ source ~/.bashrc
Could not open a connection to your authentication agent.
So I googled the ...
-3
votes
0answers
29 views
How to transfer entire directory from one server to another via SSH [migrated]
I have two servers, access to SSH on both. I want to transfer entire directory from server A to server B.
They are both remote servers to me.
Am I right to assume it is possible to log into SSH ...
0
votes
1answer
15 views
Chef: Knife ssh connection error
I try to run a command on all my nodes but get the following error. The chef docs say it should work like this.
me$ sudo knife ssh "name:*" "uptime" -x myuser
WARNING: Failed to connect to -- ...
0
votes
2answers
39 views
SSH client option to suppress server banners?
I've read Stop ssh login from printing motd from the client?, however my situation is a bit different :
I want to keep Banner /path/to/sometxt serverside
I would like to pass an option under ...
0
votes
0answers
12 views
Multi-hop ssh with netcat ProxyCommand demands tty
I'm trying to set up my .ssh/config to let me ssh into a server via a jumphost as I normally would:
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
ForwardAgent yes
Host jump
Hostname ...
0
votes
1answer
29 views
How can I sudo via a remote chained command?
I am trying to run a script which executes a chain of commands under another user on a remote server. The script contains the following ssh command to return information about the remote user's Drupal ...
0
votes
0answers
64 views
Passwordless SSH key copied from one server to another now asks for passphrase
I'm using chef to build a server.
I generated a passwordless SSH keypair on one server and added the public & private keys to chef. After testing, it worked.
When I provision another server and ...
-3
votes
1answer
25 views
AWS and Inbound SSH [closed]
So I know a lot of people have problems logging into ssh due to the whole public key files and such. I'm trying to figure out how to disable all that so that all that is needed to be sent over is a ...
-1
votes
1answer
23 views
Gitlab unable to push via ssh
I just installed gitlab server on CentOS 6, but not able to push any changes to the repo via ssh.
A simple ssh works though
ssh -T git@git.med-access.net
Welcome to GitLab 5.2, Anonymous!
But when ...
0
votes
1answer
24 views
how ssh knows to proxy the traffic under tunneling?
client <--> local SOCKS proxy <--> remote VPS (SSH) server
I wants to know , when the client sends a HTTP request (www.youtube.com) ,
and the request reached the VPS server through SOCKS proxy ...
0
votes
0answers
25 views
SFTP, ChrootDirectory and multiple users
I need a setup where I can put the contents of several user folders to a DMZ server from where external clients can download it, protocol SFTP, Linux, OpenSSH. To ease administration we want to use ...
1
vote
1answer
26 views
Prevent upload of ssh keys using vsftp
I'm configuring vsftpd for uploads from a device on my network. FTP is needed for legacy reasons. This is something I cannot change, no matter how badly I would like to. So, please don't suggest ...
0
votes
0answers
26 views
How to install a Debian on the remote Server with running Debian alreadz?
There are many tutorials (e.g. the main I think: D.3. Installing Debian GNU/Linux from a Unix/Linux System), how to install a new Debian from one another. But they all sounds for me like you need a ...
-4
votes
3answers
49 views
Find in all sub directories [closed]
I have a directory with many sub directories,
I want to find a file in this directories so I use this command:
find ./ -name test.php
but this command search just in the top level directory,
how ...
1
vote
2answers
40 views
Check if ssh client used password or public key auth?
Is it possible to check if the current ssh session used a password or public key authentication, without comparing /var/log/auth.log with my current client ip?
And in case if there is no other way ...
1
vote
1answer
47 views
Automatic provisioning of Windows server from a Linux client.
Our company builds a server-based C++ application, which can be installed by a Windows installer.
I would like to be able to remotely log into a brand new Windows server, and install that C++ ...
-2
votes
0answers
28 views
Putty Windows cant connect to server [closed]
my problem is that when I try to connect to my server with PuTTY on Windows 7, I get access denied when trying to login to root with the correct password. When I log in to a different server, and SSH ...
1
vote
0answers
14 views
persistent SSH connection while connecting to VPN [duplicate]
I have a Linux machine on the intranet which I can only access via ssh, this machine needs to connect to a VPN using openconnect however when I do that I get disconnected from ssh since the intranet's ...
0
votes
3answers
58 views
persistent SSH connection while connecting to VPN
I have a Linux machine on the intranet which I can only access via SSH, this machine needs to connect to a VPN using openconnect however when I do that I get disconnected from the SSH since the ...
1
vote
1answer
26 views
How to change the amazon Ec2 instance keypair with the new key pair [duplicate]
I have an instance where my site was running. But when I have restarted the instance the site went down and also I have lost my pem key which is associated to instance.
Now I am not able to access ...
3
votes
2answers
41 views
do SSH keys have to be unique to the service they are used for?
I just created a virtual server (or, in the language of Digital Ocean host, a 'droplet') for the first time. Digital Ocean has an instruction page about SSH keys https://www.digitalocean.com/ssh_keys ...
1
vote
2answers
30 views
Why to use password protected SSH key files for remote access? [duplicate]
I was thinking of using key files for remote SSH access to my server instead of entering the account's password manually at login. On the Internet I found several tutorials on how to do that for ...
0
votes
0answers
6 views
Linux machine broadcasting its own network while connecting to a different network [migrated]
I'm wondering if it is possible to setup a Raspberry Pi (a basic Linux box) with a USB Wifi Dongle to both connect to a Wifi network as well as be a Wifi Access Point?
What I'd like to do is:
Have ...
2
votes
2answers
57 views
Is there a shell to change password when connecting over SSH?
This is a pretty odd question, but I'd like my users to be able to change their passwords for my FTPS server, which is using local accounts. Currently all these users have /bin/false set as shell, but ...
-1
votes
2answers
27 views
MySQL seems to ignore --host argument
I need to connect to a MySQL database on a server to which I do not have access through the firewall. I do however have SSH access to another server which is allowed through the firewall on my target ...
0
votes
1answer
33 views
scp returns Exit status 1
In a LAN I have two PC, both running Ubuntu 13.04.
There is a directory which is in a shared folder (samba, guest access) in the first PC.
I have tried to copy this directory to the second PC through ...
0
votes
3answers
33 views
SSH connection with public RSA key
I have next configuration in our corporative network:
Client: (artur@lothlorien.isd)
/etc/ssh/ssh_config:
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
...
1
vote
2answers
37 views
corrupted lines display in ssh terminal
I have problem with my console drawing lines. The problem is when I connect through ssh to server everything draws ok. But when I use up arrow key to show last used commands it often leaves few ...
-5
votes
1answer
22 views
SSH to non-standard port [closed]
Using windows/putty I can reverse ssh to my ssh server at home which is behind a nat, to access it I had to forward port 443 to the sshserver. Now using my home ip and port 443 I can acess my ...
1
vote
3answers
31 views
“while read line” returns early when calling ssh “mysql…”
I have a script that reads in data from mysql (the get_sql_results function below)
I then read in each line, parsing individual columns with awk.
Everything works fine except for the line that assigns ...
0
votes
0answers
12 views
Set up SSH access with gogoc service [migrated]
I'm trying to set up gogoc in order to allow my computer to be accessible via SSH using a Freenet6 Tunnel Broker.
Here are the relevant parts of my /etc/gogoc/gogoc.conf:
userid=<my_userid>
...
-1
votes
1answer
25 views
SSH - ftp user multiple folder permissions [closed]
I have a server with SSH access. Hope anyone can help me very quickly with permissions. I have a folder, in that folder there are 10 more folders (f1, f2, f3, f4, f5, f6, f7, f8, f9, f10).
I created ...
-1
votes
1answer
33 views
Can the netstat command show what specific website a user is on? [closed]
I'm currently under an Apache DDoS attack and have 13 websites shared under one server. I can use the netstat command to see the # of connections per IP, but not what website they're actually on. I ...
0
votes
3answers
55 views
Can you block an ip with multiple connections? (Apache ddos attack)
My server is under a Apache ddos attack right now. There's a ton of single ip addresses with 30+ connections.
When I use this SSH command:
netstat -n | grep ':80' | awk -F' ' '{print $5}' | awk ...
1
vote
2answers
50 views
Tunnel Ethernet Packets over SSH
I have two machines. My laptop and a machine in the local intranet. This machine has next to the network device (for the intranet) a second network card. I want to send raw ethernet frames out of this ...
1
vote
1answer
29 views
ssh command not working on juniper router
I'm trying to use ssh command on my MX juniper router but i get the following-error
-cli: unable to execute ssh: No such file or directory
this is the command i'm using:
ssh 10.27.1.2 source ...
0
votes
0answers
54 views
generate ssh host keys for clients on puppetmaster
I look for a solution to create the ssh host keys for my puppet clients on the puppetmaster.
I did some research and found http://jsosic.wordpress.com/2012/12/04/managing-ssh-host-keys-with-puppet/, ...
1
vote
1answer
45 views
Server responds to pings but no SSH or HTTP access
I do not know what has caused this but my websites have been down for 2+ days now and I cannot connect via SSH or FTP either.
The only way to get signs of life from my server is to reboot it via the ...
0
votes
1answer
34 views
What would cause SSH connections to fail when using `ssh://user@hostname` form but succeed with bare `user@hostname`?
I'm attempting to set up a git repository on our office server and make it accessible through SSH using public key authentication. I created a user git on the server and added two OpenSSH public keys ...
1
vote
2answers
38 views
Why cant I ssh into my ubuntu server? (ssh_exchange_identification error) [duplicate]
I am trying to ssh into my ubuntu server (which I have done many times before) and I get the error:
ssh_exchange_identification: Connection closed by remote host
ssh -vvv shows the following:
...
0
votes
1answer
16 views
Shorewall deny all assh access except one user
Hi all I have an ubuntu server with shorewall firewall.
I want to deny all ssh access exxcept my user: "alessandro".
How can I write this rule in shorewall?
Thanks
0
votes
0answers
43 views
Allowing sftp-only access to existing directory [duplicate]
I want to create 2 sftp accounts and blocking ssh access for both, 1 for developers and 1 for designers.
developer can access /home/admin/domains/domain.com/public_html/ and its subdirectories
...
1
vote
0answers
37 views
autossh failed recreating a tunnel due to different timing
I have problems with autossh in case short network interrupts (up to 60s). This happens daily due to a network disconnect by my ISP in the morning. Even with usage of autossh the ssh tunnel stays ...
0
votes
0answers
29 views
ssh private key on nas [closed]
i try to add ssh private key auth to my NAS. It is a NAS from WD My Book World.
My problem is when i try to connect with a key it still ask a password.
here is my .ssh folder :
.ssh/
...
1
vote
1answer
54 views
Run scripts remotely and securely
I'm looking for a way that normal users can do remote changes on a linux box through a web interface. Say for example update the dns settings for their domain. The script needs to run under root. I ...
1
vote
1answer
32 views
Default ubuntu user deleted, unable to access EC2 Instance via SSH
This is my first foray into using EC2, and I created my first instance using an Amazon AMI running Ubuntu 12.04. I created a keypair and downloaded the .pem file to my local machine. I was able to ...

