About 556,000 results
Open links in new tab
  1. How to show the host/configured/default ssh "configuration"?

    Aug 27, 2015 · According to my ssh_config file... Configuration data is parsed as follows: command line options user-specific file system-wide file With that said, (and yes, I know, I could scour man …

  2. ssh agent - Pass password in ssh config - Server Fault

    Dec 1, 2021 · Is there any way to pass a password using .ssh/config? I'm trying to set up a way to login to a server under a specific user and then switch automatically to root when I connect (need to input …

  3. Correct configuration of the SSHD config file? - Server Fault

    Dec 9, 2019 · I am not sure, whether excluding all public key algorithms, except ed25519 is not being overzealous and it a good security strategy. Security StackExchange can certainly tell you more on …

  4. How to configure ssh client to use private keys automatically

    You can change this in ~/.ssh/config (the IdentityFile parameter - the -i option to SSH actually overrides this. See man ssh_config for details). If you have multiple private keys to deal with using ssh-agent is …

  5. ssh is no longer using ~/.ssh/config - Server Fault

    I was able to workaround a problem. I copied contents of ~/.ssh to /nas/kuba/.ssh. So it's actually problem with ssh suddenly using the wrong home directory, which is probably not really an ssh problem.

  6. How can I set -X (X11Forwarding) in my ~/.ssh/config file for a ...

    Jan 9, 2016 · If you peek into the manual page for ssh_config, you will find an option ForwardX11, which can be put in your config such as: Host wk Hostname W.X.Y.Z ForwardX11 yes ...

  7. SSH through multiple hosts using ProxyCommand? - Server Fault

    17 I have an entry in ~/.ssh/config on my computer at home that look like this: host foo bar ProxyCommand ssh -x -a -q gateway.example.com nc %h 22 where gateway.example.com is a …

  8. How does ssh ProxyCommand actually work? - Server Fault

    Oct 8, 2013 · I am comfortable with using the ProxyCommand feature of ssh and can use it to hop through mulitple bastion hosts to reach the final host efficiently. But I just can't seem to understand …

  9. linux - ssh proxyjump command to config file - Server Fault

    Sep 7, 2023 · See man 5 ssh_config: ForwardAgent yes IdentityFile .ssh/id_file Host jump_node User user1 Host remote_node ProxyJump jump_node User user2 and just run ssh remote_node. You can …

  10. linux - How can one allow or deny an ssh login for a specific user (s ...

    Mar 30, 2020 · Update the sshd config To deny a user ssh login, add this to the end of your sshd config file (/etc/ssh/sshd_config in Linux/Unix/BSD): DenyUsers theusername For groups: DenyGroups …