-1
votes
1answer
36 views

How to enable someone to SSH to my server from Windows? [closed]

I want someone from windows to log in into my server using SSH, so he can edit files and install things. Is there a step to step how to do it? I need to: Create his user account. Configure it, ...
3
votes
1answer
46 views

Do ssh_config rules cascade?

I have the following rules Host * Compression yes Host sop HostName 192.168.56.101 if i ssh sop will the compression flag also be added?
2
votes
1answer
369 views

ssh config wildcards to avoid typing username

I frequently ssh into openstack instances. All of the instances are on a dedicated vlan and subnet (10.2.x.x). All of the instances have the same username (bob) I connect like so: ssh bob@10.2.x.x ...
4
votes
3answers
7k views

Pseudo-terminal will not be allocated because stdin is not a terminal

I'm trying to set up automatic SSH hopping through a server which doesn't have nc. This works from the command line: ssh -A gateway ssh steve@target (I have added my public key to the SSH agent). ...
0
votes
2answers
100 views

Different configurations for ssh client depending on ip address or hostname

I have this in my ~/.ssh/config directory: Host 12.34.56.78 IdentityFile ~/.ssh/my_identity_file When I ssh to 12.34.56.78, everything works fine. I'm asked for the passphrase for ...
0
votes
4answers
331 views

securing SSH and disabling direct root

In these instructions below what appears on my terminal is different so not sure what I should change. After port 22 mine says #AddressFamily any and further down for protocol it has longer line ...
1
vote
1answer
738 views

How do I SSH into my Samba file server?

So I made a dedicated Samba file server on my Debian(3.2) machine. I have had great success accessing it from both Windows and Unix. I can SSH into it on the local network. When I try to SSH into it ...
3
votes
2answers
685 views

Close ssh session that has ControlPersist and is kept alive in the background

I have ControlPersist 4h in my .ssh/config and it works perfectly, Every now and then I need to connect to this server that requires some special authentication, and if I don't use that account for ...
2
votes
1answer
591 views

.ssh/config way to spectify pseudo-tty allocation and command execution (like screen)

Is there any way to specify, in .ssh/config, a command like: ssh -t remote-host "screen -dR screen_name" so I can easily access the remote screen session with ssh remote-host? Right now I solved ...
0
votes
3answers
417 views

wrapper command for sshd_config?

Is there a command to set settings in sshd_config, instead of manually editing the file? I would prefer it to do this way, because it's easier to automate. Otherwise I'd have to grep config with my ...
5
votes
1answer
2k views

Why don't Page U/Down, Home/End work in less on Solaris over ssh from Ubuntu?

I need to work on a Solaris server over ssh from my Ubuntu (Lucid) laptop. I got Home/End Insert/Delete Page Up/Down working in csh and bash using bindkey and ~/.inputrc, respectively. But I can't ...
32
votes
3answers
27k views

What do the options `ServerAliveInterval` and `ClientAliveInterval` in sshd_config do, precisely?

I found this question, but I'm sorry I don't quite understand the settings on the two variables ServerAliveInterval and ClientAliveInterval mentioned in the accepted response. If my local server is ...
4
votes
2answers
414 views

Is it possible to break long lines in sshd_config?

Specifically AllowUsers parameter: e.g. convert this AllowUsers user1 user2 user3 user4 to this AllowUsers user1 user2 user3 user4