Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for Telnet and other insecure remote shells, which send ...
0
votes
0answers
5 views
how to make openssh ftp work on Windows
What is the correct way to set up sshwindows for SSH key authentication? Does the user need to be created in Windows first or can a login be inserted into passwd without a Windows equivalent?
I've ...
0
votes
1answer
17 views
manipulate process over ssh by PID
Say there's a process (PID 1501) running on a server. the server has firefox open (as 1501).. from the remote computer, i want to send commands to PID 1501 (e.g. 1501 -new-tab ). How would I run that ...
2
votes
2answers
50 views
SSH file transfers hang after ~700KB
OVERVIEW
I'm scripting SFTP file transfers on a Windows 7 box in the field. When I transfer zip files larger than a megabyte or so, the transfer (and SSH) stops unexpectedly after about 700KB. The ...
0
votes
0answers
26 views
Close SSH connection [migrated]
I'm using Mac's Terminal App and I know how to connect to an external server via ssh (ssh -l username domain.com). But how do I close the connection once I'm done? Thanks.
0
votes
2answers
34 views
How to use directory autocompletion with scp
I use the authorized-key to log into my remote ubuntu server. I need to use scp frequently to cp files from my local machine to my remote machine. I want to enable the autocompletion as I did with my ...
2
votes
1answer
216 views
What is the meaning of an equal sign = or == at the end of a SSH public key?
I just noticed that most of the ssh pubkeys in my authorized_keys end on == or =
E.g.
ssh-rsa ...
0
votes
0answers
17 views
No route to host after the first connection to ssh / nomachine
i've my home pc with enabled SSH and NoMachine (and, also, noip2).
When i try to connect to it, it works..but after some minutes, i loose the connection, and, finally, when i retry to connect, i get ...
1
vote
1answer
15 views
Can I configure VSFTPD to listen only to localhost?
I have a legacy app that needs FTP and cannot do SFTP.
My solution is:
put an FTP server in place using VSFTPD
configure the firewall to accept port 21 connections only from localhost
Set up an SSH ...
0
votes
1answer
23 views
iptables and virtual machines of KVM, external ip
Hi everyone :) In general, I'm still struggling with the virtual machine KVM. I did two alias to eth0 - eth0:0 and eth0:1 and put them on an external IPs (eth0:0 - 89.114.122.3, eth0:1 - ...
2
votes
1answer
29 views
What limits are there on the number of reverse ssh tunnels?
We have 100+ embedded boards that we need to talk to occasionally.
We've found the best way to do this reliably (there are some strange internet connections out there) is to have the boards open a ...
0
votes
3answers
57 views
SSH bind local port from PHP
PHP Code
I've got a development environment, and am trying to access a remote database. Here's the code I'm using:
$dbhost = '127.0.0.1:3307';
$dbuser = 'mydbuser';
$dbpassword = 'mydbpassword';
...
0
votes
2answers
47 views
How to enable SSH key login on CentOS 5.5?
I'm trying to setup SSH login on a CentOS 5.5 on an OpenITC VPS.
I should say this doesn't appear to have SELinux installed, as commands such as sestatus don't work.
I currently have two users, root ...
0
votes
0answers
18 views
Why doesnt my new cygwin .bashrc has interactive check work?
I just updated Cygwin and the new .bashrc contains this line right at the top:
echo "BEFORE TEST"
# If not running interactively, don't do anything
[[ "$-" != *i* ]] && return
echo "AFTER ...
0
votes
0answers
18 views
ForwardAgent in Jenkins
I'm trying to enable ForwardAgent in the "Publish over SSH" Jenkins Plugin. This would allow jenkins to execute deployments, rsyncs and svn+ssh checkouts on remote servers. But there's no option for ...
0
votes
1answer
31 views
vsftpd won't start with ssl_enable=YES. Why or where can i find logs about why?
I just configured vsftpd but if try enable ssl in the config file, my server doesn't start.
vsftpd won't start with ssl_enable=YES
What can I do about this? I thought there should some information ...
1
vote
2answers
40 views
how to make chained ssh work with git
I am trying to get round a silly firewall issue. I am trying to chain ssh access to git through a proxy ssh:
~/git-chain:
#!/bin/bash
ssh hosticangetto ssh $*
# End
And then:
$ export ...
0
votes
2answers
22 views
Read-only file system VPS SSH error
I have a VPS and today I noticed apache was not running, I got in SSH, the httpd status says:
[root@adrimail ~]# service httpd status
httpd dead but pid file exists
Tried to restart it and I get ...
0
votes
4answers
91 views
SSH: what is the best way to achieve secure connection with dynamic IP?
I'd like to have my own distant server, and to connect to it through SSH.
But I'd like to do it through many PCs (i.e. many different IPs), do you have any advice / secure solution for doing this?
0
votes
1answer
38 views
Ubuntu Server SSH does not autostart
I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create ...
2
votes
1answer
61 views
CentOS VM Cannot Start sshd
First let me open with honesty, I am not a sysadmin, we are between them at the moment with our new one due to start in a few weeks.
We have been running multiple CentOS VMs on a CentOS host for some ...
2
votes
1answer
64 views
SSH Port Forwarding -D not working anymore
I have a virtual server in the US. When I first set it up I was able to use dynamic port forwarding with
ssh -D PORTNUMBER serveraddress
After that I could set up Firefox to use that as SOCKS5 ...
1
vote
1answer
25 views
ssh from username1@client to host using username2@destination
Forgive the possibly simple question, but I cannot seem to find a good solution.
A backup job needs to rsync files to a destination host, over ssh. The only login available to me is ...
1
vote
2answers
40 views
How do I setup seamless SSH access on centOS 5.7?
Well I haven't had to do this before until now, but I created an account on a remote server purely for shared git repo access and now need to setup seamless logins via ssh on each dev machine. I have ...
-6
votes
1answer
97 views
How to create an ssh botnet?
I need to control many several Linux devices behind a NAT.
So I was thinking of embedding a script to tunnel ssh to my server. Thinking this might be expensive for the server.
Though how do I ...
1
vote
2answers
46 views
Ubuntu EC2 instance, changed root home directory and now unable to SSH in
I have an Amazon EC2 instance runnung Ubuntu 11.10. In an attempt to do a quick fix of a problem I changed the home diretory for the ubuntu user in the /etc/passwd to /srv/www. Now I can't ssh in to ...
0
votes
2answers
74 views
Learning basic deicated server administration [closed]
I have no idea if this is the right place to ask, but I'm a bit desperate.
I have been working for a few days now to set up a EC2 instance with cPanel. I realized fast that this was not easy, ...
0
votes
0answers
41 views
What is the Putty equivalent command for Mac OS X? [migrated]
In my Windows system, I was able to create a tunnel by running the command below using Putty:
putty.exe -D 12345 -P 8888 localhost
I'm not used to Mac yet and I would like to try it out on Mac. ...
0
votes
4answers
63 views
Strategy for gaining ssh access without setting up a router
I'm going to need to administrate someone's macbook pro remotely over ssh. Problem is, they'll be moving between networks so I can't just set up port forwarding on their router. What strategy could I ...
1
vote
1answer
32 views
Forward Squid Traffic To Tor Network
I have installed squid on my Ubuntu machine and I would like to forward requests from the squid proxy to the Tor network. Is this possible without iptable changes? I know that Tor proxies are socks ...
1
vote
2answers
27 views
Mount ext3 from remote Windows machine (XP/Vista/7) through ssh?
Is it possible to mount external ext3 network drive from Windows through ssh/sftp ?
I would like to avoid samba/cifs.
0
votes
2answers
28 views
Setting up an SVN Server using SVNServe in Amazon ec2 Ubuntu Linux
This has been a headache. Where to begin? So far, I've followed this article, along with its follow-up tutorial and my output when I try to do
svn+engine_ssh://[insert-elastic-ip-here]/var/svn/test
...
0
votes
1answer
37 views
SMB proxy: Connect to SMB server through SSH tunnel between two other hosts
I want localhost to access my company's SMB shares. These are located on a Win7 peer. This peer is running a virtual machine with Debian which itself is running an ssh daemon.
I can easily create an ...
0
votes
3answers
36 views
SSH Public Key Authentication Fails Mac OSX
I am trying to get a coworkers MacBook Air running on Public Key Authentication and even after generating a new SSH key I haven't been able to get it to run like I have mine. Double checked file ...
1
vote
1answer
32 views
How to use ssh to copy a file multiple hops with agent forwarding?
I have a group of servers all properly configured with SSH agent forwarding. It is a typical bastion server style configuration where the only machine you can connect to from the outside is server A. ...
1
vote
1answer
24 views
OpenSSH 5.9p1 on Ubuntu 11.10
I want to build a deb package with the latest version of openssh from source. Then I want to install it on my machine.
I am running:
Linux Ubuntu-1110-oneiric-64-minimal 3.0.0-12-server #20-Ubuntu ...
0
votes
2answers
45 views
SSH intermittently losing connection or not even getting a connection on a local Ubuntu 10.04 server
Thanks in advance for any help.
I'm using Ubuntu 10.04 server, OpenSSH is installed standard via package. I have this running on a dozen other machines in this exact format, and they are virtuals so ...
0
votes
1answer
18 views
ssh, authorized_keys and group write grant
I am managing one machine that hosts an OTRS webserver. It has a normal user, 'otrs', which runs several periodic tasks and keeps (in 'otrs' home) the needed files for the service to work. And then ...
0
votes
1answer
32 views
SSH public key authentication without DNS entry
Server A thinks it is called foo.bar.com, but actually there's a problem (not in my control) with the DNS registration, so I connect to it at 192.168.1.1. I want to be able to scp from there to server ...
2
votes
2answers
110 views
Change the SSH authentication method depending on the IP address
How can I setup my SSH server so that the authentication method depends upon the client IP address?
internal network -> password login enabled
request from WAN -> only passkeys enabled
I ...
2
votes
2answers
52 views
Prioritise ssh logins (nice)
Is there a preferred way to set "nice" for sshd?
I need priority given to sshd such that I can login and easily fix stuff when something has gone wrong (eg DoS, badly behaved processes, etc)
0
votes
2answers
32 views
Configure interactive keyboard authentication
I have a linux machine running OpenSSH Server 4.3.
How can I configure it to use keyboard-interactive authentication - define prompts and responses and so on.
Please be specific, as I am pretty new ...
0
votes
2answers
32 views
Show all users and their groups/vice versa
I know I have existing groups and users but I'm not sure about their association. Is there an shell command I can use to list all users or all groups and a command to list all groups/users for a ...
0
votes
3answers
58 views
SSH Brute Force Attack; Auto-Ban IP-Addresses [closed]
Possible Duplicate:
Preventing brute force attacks against ssh?
We have approximately 20 internet connected virtual machines, and just noticed that hackers are trying to brute force SSH ...
2
votes
1answer
48 views
Ban Specific IP's on VPS
I have a case where I want to ban specific IP address on my VPS.
To ban the IP's I use SSH Access with this code:
iptables -I INPUT -s my-ip-here -j DROP
The case wich I want to ban is as ...
1
vote
0answers
81 views
SSH over HTTPS with proxytunnel and nginx
I'm trying to setup an ssh over https connection using nginx. I haven't found any working examples, so any help would be appreciated!
~$ cat .ssh/config
Host example.net
Hostname example.net
...
0
votes
3answers
57 views
SSH to ec2 instance
I have access to the console panel for EC2. There exists one key pair (created by someone prior).
I created a second key-pair, and then tried to SSH in to the ec2 instance. This is what happens:
...
0
votes
0answers
36 views
Capistrano deployment to a VPS failing
I'm using Capistrano to deploy a Ruby on Rails app to a VPS running Ubuntu 11.10. However, whenever I run cap:deploy i get this error:
cd: 1: can't cd to /var/www/appname/releases
The VPS I'm using ...
2
votes
1answer
82 views
Different ssh fingerprints on server. (MITM attack?)
When I try to ssh to my server in Germany from my UK laptop I get:
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It ...
1
vote
1answer
27 views
Do Mac OS X servers have a security mechanism that blocks a user if they log in from two different IPs?
A trusted friend and I had ssh'ed into a Mac OS X Web Server (either snow leopard or lion) from two different locations. Then my password stopped working when trying to log in.
I can safely rule out ...
0
votes
1answer
28 views
SSH jump box/host/server
I'd like to hear some opinions on implementing a SSH jump box as I am currently documenting on this. I am searching for a very lightweight linux OS through which I can access my internal network. Only ...