The openssh tag has no wiki summary.
0
votes
1answer
40 views
How to restrict root login with restriction
in openssh, you can restrict root login (PermitRootLogin no) but can it have an exception?
2
votes
2answers
74 views
I get a permission denied (public key) when I try to scp in ssh
I can login to the remote server via ssh and navigate through it's file system, but as soon as I try to scp a file from the server to my laptop I get an error message.
Example:
user@server:/file$ ...
1
vote
1answer
33 views
ssh-agent and ssh-add
Does anyone know how to make it so that I don't have to add my keys manually using ssh-add? Every time I log into my Ubuntu server box, I have to start the ssh-agent and then use ssh-add before my ...
1
vote
1answer
46 views
What's the principle behind OpenSSH subsystems (or command= option)?
In OpenSSH one can declare a subsystem in the configuration file (/etc/ssh/sshd_config) or force a command such as svnserve to be executed by including this in the authorized_keys line for a ...
1
vote
1answer
60 views
Is it better to run OpenSSH in cygwin or freesshd (on Windows Server 2003)
I found an article on Petri that explains how to install OpenSSH to Windows via cygwin. I know that OpenSSH is basically the standard SSH server for *nix distros and was wondering if that means it's ...
0
votes
1answer
44 views
sshd_config AllowUsers Should Root Be Allowed?
I am asking here as i do not want to get locked out of my server.
I do not want to allow root login to ssh, however if a user enters a "su" command i want them to be able to become root. So do i ...
1
vote
1answer
66 views
Why would anyone install openssh-client instead of openssh-server?
I installed openssh-server on two pc's. I can connect from both from the one to the other. So if openssh-server sends as well as receives ssh, why would you install the openssh-client, just to make ...
0
votes
0answers
23 views
Switching user in openssh using PAM
I'm trying to write a PAModule which will use compare the inserted username against a file.
If the username exists in the file, it will change the username to root (since the username does not really ...
1
vote
4answers
95 views
sshd refuse connection?
For some reason I cannot access from my vitrual machine my remote virtual server at a server farm and instead it gives me this error message:
OpenSSH_5.9p1, OpenSSL 1.0.0g 18 Jan 2012
debug1: ...
0
votes
1answer
98 views
One user can use SSHFS, other user gets “remote host has disconnected”
I have two users with valid SSH accounts on a server. Both users can login via ssh successfully.
When trying to mount SSHFS, usera can mount with no problems, while userb gets the error:
remote host ...
1
vote
2answers
65 views
SSH access via different ports on LAN vs WAN. Is it possible? How to configure?
I want to configure OpenSSH to use port 22 for LAN clients, but to use a non-standard port for all outside addresses. How would this be done?
What I have in mind is imagined to be like this:
Match ...
0
votes
0answers
59 views
Cygwin sshd with tcp_wrappers
How can I use tcp_wrappers in sshd for cygwin? The standard /usr/sbin/sshd hasn't libwrap so I tried to compile it using openssh-5.9p1-1 with:
./configure --prefix=/usr --sysconfdir=/etc ...
1
vote
1answer
71 views
ssh using certificates — can you rename id_rsa file?
When using certificate authentication with ssh, the instructions I have found indicate you should create a key-pair as id_rsa.pub && id_rsa. The public key is then sent to the remote system ...
0
votes
0answers
119 views
OpenSSH Server won't start on Windows 7
I have followed this example to setup an SFTP server on Windows 7.
I have done this before on XP and it worked a treat, and the process seemed to go OK on Windows 7 but now I can't get the OpenSSH ...
0
votes
0answers
392 views
1and1 ssh - connection refused
I'm having troubles connecting through SSH to my 1&1 account.
When I try to connect with command
userXXX@host -p22 -vv
I have the following output:
OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL ...
1
vote
1answer
29 views
Forwarding X through 2 servers (4 boxes involved)
I'm trying to run a web browser on my desktop machine at work but display on my local laptop.
To connect via ssh, I need to go through 2 servers.
A: Laptop wanting to display browser that runs on ...
0
votes
1answer
83 views
SSH hangs on exit with background jobs - inconsistently
On different Linux boxes, I see different behavior with respect to SSH sessions hanging on exit when there are background jobs running.
If I do exactly the same thing
$ for f in 1 2 3 4 5; do echo ...
2
votes
1answer
271 views
Can't write or download to SFTP on Ubuntu Server 10.04
I'm having a problem setting up SFTP with an Ubuntu Server 10.04 LTS x64.
I use openSSH with public key authentication, I can login with SSH perfectly with the keys no problem. I can also connect to ...
0
votes
2answers
60 views
Reach computer behind a NAT or Proxy
I have a home PC connected through twoway satellite modem. I cant reach from outside, so after a some research I found a solution which is reverse ssh tunneling. but I have a few question regarding ...
0
votes
1answer
37 views
How can I set up a “remote pair-coding” environment linux to linux?
I did some research on how to enable a pair-coding environment remotely so someone else on their MacOx/Linux box could view my screen (I code using vim + the rails plugin).
I read Evan Light's blog ...
0
votes
0answers
73 views
grep to find out OpenSSH-files on a hard disc - running on opensuse 12.1
Good day dear friends, I have a problem. After a hard disk crash I have to restore all my important files including:
pgp things for enigmail
openSSH-things for the SFTP-protocol - that filezilla ...
1
vote
3answers
483 views
Can only ssh into Ubuntu 12.04 alpha machine when logged into console
I recently installed the latest Ubuntu 12.04 64bit alpha (2?) onto a VMware virtual machine in order to check things out.
One strange thing I've encountered is that I can only successfully ssh into ...
0
votes
1answer
268 views
SFTP ChRoot result in broken pipe
I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
0
votes
2answers
81 views
Small delay while connecting to virtual SSH (residing on the same machine)
I have set up a virtual machine - Debian 6.0.4 - on my Windows 7 host OS. I use VirtualBox as software.
Recently I have started to play with ssh but I have noticed that when I login to the virtual ...
0
votes
1answer
102 views
What is a GPG with “authenticate” capability used for?
GnuPG subkeys can be flagged with three kind of capabilities: Sign, Encrypt and Authenticate.
While the first two actions are widely used and documented, the authenticate action is somehow ...
0
votes
0answers
46 views
OpenSSH: Restriction on Local Port Forwarding for groups
I'm trying to restrict users who connect via ssh on a server (with OpenSSH) to do local port forwarding on certain ports only.
I've found that setting the permitopen="address:port" option in their ...
0
votes
1answer
160 views
How to diagnose proxy over ssh?
Recently I've tried to set up proxy using ssh -D 2454 username@servername (to browse the Internet through ssh tunnel), but failed to do this correctly. I would be happy for any suggestions and/or ...
0
votes
1answer
360 views
strange permission error involving ssh, Cygwin, Windows 7, and .sh files
I am new to Cygwin, ssh, and messing with file permissions and have a problem. On computer WORKER1, I am attempting to ssh into computer WORKER2 and then running a .sh file on WORKER1 from there. From ...
0
votes
1answer
72 views
Execute command/script after file transfer
I've configured a server (Ubuntu) with OpenSSH for file transfer via sFTP. The requirement is that after a file transfer, a mail is sent confirming the file was received by the system. How would I do ...
0
votes
0answers
66 views
Using OpenSSH on Windows for enterprise use
Is OpenSSH for Windows (using Cygwin) is considered to be robust & stable for enterprise use?
4
votes
2answers
180 views
SSH remote login without password is very slow
SSH Client - Mac OS X Lion
SSH Server - Debian
/etc/hosts on Mac -> [IP of Debian] mydebian
Public key of Mac has already been put to authorized_key in root@mydebian:/root/.ssh
'UseDNS no' has been ...
0
votes
0answers
40 views
ssh connecting timeouts from a to b, but works from a to c, and c to b
I am scratching my head here. I now get timeouts between hosts A and B, both running Ubuntu, with some firewall NATing on either side and a good dozen hops in between. (To clarify based on the first ...
0
votes
0answers
353 views
OpenSSH and remote invocation (using Powershell?)
Before I ask the questions, I have to provide some context information...
I have a SSIS server which invokes a SSIS package. The SSIS package copies a file to a file server. After the copy action, ...
1
vote
1answer
110 views
OS X, SSH: use different private key files for different servers
I want to use different private key files to connect to different SSH servers (ssh://git-server:port/repository). How to manage that? SSH seems to assume the private key file in ~/.ssh/id_rsa.
1
vote
1answer
101 views
ssh to Windows server sitting behind Linux firewall
I have been looking everywhere and still can't get an answer. I am sorry if this is a re-post somehow.
I Have a home network setup as follows:
OUTSIDE -> Linux Firewall/Gateway -> Windows Server
I ...
0
votes
1answer
72 views
ssh_exchange_identification: unprotected port
I wanna login a guest minix system resides inside VirtualBox through ssh and receive the error ssh_exchange_identification: Connection closed by remote host.
After turn on the verbose flag, the ...
1
vote
1answer
71 views
SSH client not showing prompt after successful login
I'm having problems with my SSH client on Ubuntu 10.10.
When I switch on my computer and open a Terminal and execute the command ssh user@host, it gives me a password prompt after which I enter the ...
0
votes
0answers
166 views
SSH connection closes after successful authentication
I'm trying to run a CopSSH server on a Windows 7 x64 machine. The server starts fine and all is well and good, but when I try to connect to the server with PuTTY (with password auth), I get an error ...
3
votes
2answers
187 views
Automatically reconnect interactive SSH session
What's the best way to automatically reconnect an interactive SSH session to re-establish the shells on terminals? I looked at autossh but that seems to be dedicated to port forwards (which I do not ...
0
votes
0answers
104 views
SSH Port Forward 22
I'm trying to set up the following:
At work I want to create a local port that will forward to port 22 on my home server.
ssh -L 56879:home:22 username@home -p 443
right now I'm testing this on my ...
0
votes
0answers
43 views
telnet after ssh
I have openssh for windows setup successfully on a remote machine. From this remote machine I am able to telnet into the rest of my network devices (routers) using command prompt
However, when I ssh ...
2
votes
1answer
213 views
Can't setup SSH server on Cygwin
I had set this up a while ago on a different computer, but I can't get it running now. I've followed the directions at http://pigtail.net/LRP/printsrv/cygwin-sshd.html and I'm getting the following ...
1
vote
1answer
65 views
SSH ForcedCommand causes connection to close
I'm SSHing a server (I'm on cygwin using openSSH), and I went into authorized_keys and modified the file as follows:
ssh-rsa [key]
to
command="echo Working" ssh-rsa [key]
Now when I connect to the ...
0
votes
1answer
889 views
How can I setup the openSSH SFTP server on Linux?
I want to configure sftp-server to share a directory but I don't know how to modify /etc/ssh/sshd_config.
My requirements are:
1) Login shall not use certificates, only password (i.e. authorization ...
1
vote
1answer
158 views
Exclude specific group/users from ForceCommand in OpenSSH ssd_config
I want to make ForceCommand internal-sftp and ChrootDirectory /jail the default for all users accessing a server via SSH. Only users in a certain group are allowed to escape this.
How can I exclude a ...
1
vote
4answers
174 views
Managing a server over SSH
I am running a Minecraft server on Fedora 15. I have openssh-server installed on the server and I can connect to it just fine.
Right now, the Minecraft server software opens into a terminal when the ...
1
vote
2answers
382 views
Public key in hex format, conversion to base64
Hi I'm new to cryptogragraphy and have no idea how to do this. So i get a public key from a Putty session and it looks like this:
...
3
votes
3answers
3k views
How to SSH to localhost without password?
EDIT: Putting exactly what was done.
I need to SSH to localhost without a password, the usual way of doing it (with public keys) do not work.
user@PC:~$ rm -rf .ssh/*
user@PC:~$ ssh-keygen -t rsa ...
1
vote
2answers
64 views
why doesnt key authentication work for openssh?
I am working on setting up a hadoop cluster, as per the following tutorial: http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/#sun-java-6
My problem comes in ...
0
votes
3answers
659 views
Ubuntu 11.04 desktop: cannot connect to openssh-server from the outside
I use Ubuntu 11.04 as desktop OS. I have openssh-server installed and can connect to it from the same computer. I want to use it to create a connection from another computer (on the same local ...