All Questions
Tagged with configuration ssh
66
questions
0
votes
0
answers
23
views
Passing last IP octet to a host alias and have it added to complete full proxycommand with ip address
I wish to have this all done in the ssh config file for a specific user. The site has hard-coded ip addresses into there various software and using the naming convention is not really an option.
Host ...
0
votes
1
answer
41
views
SSH option SecurityKeyProvider works from command line but not config file linux WSL--other options fine
I'm trying to ssh into my work server but this bug has been bugging me for a few months now. Every other option in my config file (housed at ~/.ssh/config) works fine, but for some reason ...
0
votes
1
answer
192
views
Custom ssh properties with sshd socket
I recently changed to Ubuntu Sever 23 from Ubuntu Server 20 and want to adapt my SSH configuration on the new system the same way it was on the old system.
I had several custom properties in /etc/ssh/...
6
votes
6
answers
10k
views
How to disable ChaCha20-Poly1305 encryption to stop the terrapin ssh attack
How to disable ChaCha20-Poly1305 encryption from ssh under Debian?
I tried (as root):
echo 'Ciphers [email protected]' > /etc/ssh/sshd_config.d/anti-terrapin-attack
echo 'Ciphers -...
0
votes
1
answer
225
views
Error after changing ssh port number, Server refused public-key signature despite accepting key
I added the SSH new port number to the sshd_config file:
Port 50000
After that, I restarted the service with
systemctl restart sshd
When I try to connect with the port number I added, I need to ...
2
votes
0
answers
1k
views
Cannot disable weak HMAC Algorithms "umac-64" and "umac-64-etm" in sshd_config
We have a security recommendation to disable weak MACs in our sshd_config.
I could disable most with this line (based on the new - syntax that is available since Debian 10):
MACs -*md5*,*sha1,*sha1-*,*...
1
vote
0
answers
124
views
Conditionally skip ssh-config options when ssh is too old for them?
How can I use SetEnv in ~/.ssh/config (and the same config on various systems), but not throw an error when ssh is too old to support it?
I've tried adding a Match exec statement to exclude that ...
0
votes
1
answer
385
views
Custom ssh config is ignored with jump host
I have a custom ssh config on a directory. When the jump parameter -J is passed, ssh ignores the custom config, instead it looks at the home config at ~/.ssh/config.
Is this how ProxyJump works or is ...
0
votes
1
answer
178
views
Broken Pipe Way Ahead Of ClientAliveInterval * ClientAliveCountMax
This has been happening way too often to be an accident.
On my server's /etc/ssh/sshd_config file I have:
ClientAliveInterval 3600
ClientAliveCountMax 3
And nothing shows till I return say 30 mins to ...
0
votes
1
answer
437
views
SSH MaxSessions but not for whole system only for specific user
I want to limit ssh tunnel, but not for all users in my system only for specific users
ssh maxSession works for the whole system but I need a way to do it for specific users.
(don't suggest doing it ...
1
vote
0
answers
137
views
How to forward X over SSH to configure a desktop manager within cubic remotely
I want to configure menus,windows,decorations,taskbars positions of the wanted desktop manager in real time inside cubic because I find it very comfortable to do while I'm inside cubic virtual ...
0
votes
1
answer
751
views
How to configure SSH ControlPath correctly if %r contains slash?
The username contains slashes. If I use standard ~/.ssh/sockets/master-%r@%h:%p as the ConfigPath, ssh would complain that
unix_listener: cannot bind to path ~/.ssh/sockets/master-username/which/...
-1
votes
2
answers
740
views
SSH config /localhost and remote?
I've read on ssh, and I have my setup to use ssh with OpenWrt, I use key in .ssh + my config file in .ssh but if I want to use also ssh server as localhost, what I've read is that I should setup also ...
16
votes
1
answer
9k
views
Matching both user and host simultaneously in SSH config
So, I have a bunch of machines I manage, where I've aliased each of them for ease of access.
This looks like this for each of them in the ssh client config:
Host MACHINE-1075 M1075 m1075 1075
User ...
3
votes
0
answers
339
views
Ssh on unix, ssh_config file not working
I use ssh on my mac and I was deleting know hosts in the /ssh folder. Unfortunately the ssl package stopped working because of my ssh_config. I am a little unsure how to fix this, I have tried using ...