Speed Up Your SSH Sessions with These Seven Quick SSH Config Tricks

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 มิ.ย. 2024
  • If you frequently connect to servers via SSH with different configurations, using an SSH Config File can simplify the way you connect to these servers. In this video, Jay will show you 7 ways to use SSH Config Files to make your SSH experience much easier.
    Chapters:
    0:00 Introduction
    0:40 Connecting to our First Server via SSH with Matched Accounts
    4:00 Connecting to our Second Server via SSH without a Matched Account
    4:30 Connecting to our Third Server with a Custom Port
    6:00 Creating a Config File with a FQDN
    8:34 Creating a Config File with IP Addresses
    10:27 Creating a Config File with a User
    12:23 Creating a Config File with a Custom Port
    14:42 Conclusion
    New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
    Read the doc for more information how to connect to your Linode → www.linode.com/docs/guides/ne...
    Learn more about Creating an SSH Key Pair → www.linode.com/docs/guides/us...
    Subscribe to get notified of new episodes as they come out → th-cam.com/users/linode?sub_co...
    #Linode #Linux #SSHConfig #AlternativeCloud
    Product: Linode, SSH Configuration, Linux; Jay LaCroix;
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 42

  • @Efim88
    @Efim88 2 ปีที่แล้ว +1

    Super useful! Thank you!

  • @gobikrish276
    @gobikrish276 2 ปีที่แล้ว

    Thanks Jay it is great way to simplify SSH login

  • @maxwellmuhanda7940
    @maxwellmuhanda7940 2 ปีที่แล้ว

    love your tutorials a lot so direct soo helpful

  • @bahathir_
    @bahathir_ 2 ปีที่แล้ว +10

    Other tools such as 'sftp' and 'scp' also utilize the config file.

  • @dleivam
    @dleivam 2 ปีที่แล้ว

    The last tip was very cool.. I have to connect to several servers with ssh and few of them not use the standard 22 port and I never remember the name of those servers or the specific port.. now I will put them in my config file so I can forget them, thanks.

  • @One_piece1089
    @One_piece1089 2 หลายเดือนก่อน

    you are an amazing one 😍😍 Thank you a lot

  • @michaels8297
    @michaels8297 2 ปีที่แล้ว

    Thank you jay!

  • @raul230285
    @raul230285 2 ปีที่แล้ว +2

    Cool man, thanks...!!

  • @Laflamablanca969
    @Laflamablanca969 2 ปีที่แล้ว +9

    Hey Jay what about ssh keys? I was hoping you’d show how to use specific keys for each connection defined in the config file 😔

    • @cindrmon
      @cindrmon 2 ปีที่แล้ว +8

      here's an example:
      ```
      Host server
      HostName server_ip
      User username
      IdentityFile /path/to/ssh/private/key
      ```
      hope that helps

    • @Laflamablanca969
      @Laflamablanca969 2 ปีที่แล้ว +2

      @@cindrmon awesome thanks!!

    • @Laflamablanca969
      @Laflamablanca969 2 ปีที่แล้ว +1

      @@cindrmon You are a legend! Worked perfectly. Very much appreciated :)

  • @wparsa
    @wparsa 4 หลายเดือนก่อน

    The most useful ssh tuturial I've ever seen. how about dynamic port forwarding for scoks5 connection? how can I add that? thanks

  • @pierre-huguesaubertin1654
    @pierre-huguesaubertin1654 2 ปีที่แล้ว +6

    Shinra is for ff7 and skynet is for terminator

  • @GergelyCsermely
    @GergelyCsermely 2 ปีที่แล้ว

    Thanks

  • @anjalimesh
    @anjalimesh 2 ปีที่แล้ว

    Superb

  • @podunkis
    @podunkis ปีที่แล้ว

    Nicely done. You provided enough information to get people started. There's plenty of info in the man pages (ssh, ssh_config) that allow additional customization, but your video covers enough to make self-guided learning more productive.

  • @kjlw99
    @kjlw99 ปีที่แล้ว

    Also how I get different ssh-keys per connection, and sometimes locally disable the strict key checking also.
    This video could use a sequal showing ssh-keys and how to use jump-hosts from bastion host to actual target. :D

  • @clipsworld6391
    @clipsworld6391 2 หลายเดือนก่อน

    Hi, kindly add a video for (NAT) Natting a Server VM with three other Client VMs in detail.

  • @hacks_hackers
    @hacks_hackers 2 ปีที่แล้ว

    I need more explanation about netcat, especially the -s switch......please do a video, thanks.

  • @CarlLovesTopps
    @CarlLovesTopps 2 ปีที่แล้ว

    I am curious - can you add a -i /dir/keyfile.ppk to a config in this manner as well to simplify connections?

    • @jackfinan9060
      @jackfinan9060 2 ปีที่แล้ว

      yes, use 'IdentityFile /dir/keyfile.ppk'

  • @msheikfaaruk56
    @msheikfaaruk56 ปีที่แล้ว

    hi sir i have question about . In system [ubuntu 20.04 ] mtu size is 1500 and i am try connect another system by ethernet .connection successfully done the question is mtu size 1500 but ssh packets are above 1500 in wireshark how ? what is happening there ?

  • @prophetjamz94
    @prophetjamz94 2 ปีที่แล้ว

    Shinra - FF7,
    Skynet - Terminator Franchise
    Lol nice references

  • @xedover
    @xedover 2 ปีที่แล้ว

    SSH to connect to remote host: its not asking if you really want to connect to the server... its asking if you want to add the connection to your known_hosts file (then it won't ask you again). There are options to disable the asking (and writing).

  • @xrafter
    @xrafter 2 ปีที่แล้ว +1

    Hey, is Jay a Linode developer?
    Or what does advocate mean ?

    • @pierre-huguesaubertin1654
      @pierre-huguesaubertin1654 2 ปีที่แล้ว +3

      Advocate is a person who publicly supports or recommends a particular cause or policy

  • @ChandrashekarCN
    @ChandrashekarCN 3 หลายเดือนก่อน

    💖💖💖💖

  • @kimsoft6824
    @kimsoft6824 2 ปีที่แล้ว

    A recently created account with this email address was canceled by our automated systems. This was due to activity or patterns associated with fraudulent behavior. Additional attempts to sign up may also be rejected.
    Linode
    Some help why do I get this error

  • @brownyponvelil
    @brownyponvelil 2 ปีที่แล้ว

    Hello my dear friend, I was looking for upgrade to Ubuntu 22.04 LTS. Wondering if you are interested in making a video on installation and upgrade from 20.04 LTS to 22.04 LTS. Is it worth upgrading and explain why. Looking forward for an video answering my questions and queries and process of upgrades.

  • @entheogenetic1
    @entheogenetic1 2 ปีที่แล้ว +2

    lol'd on potato. nice video

  • @waltsullivan8986
    @waltsullivan8986 11 หลายเดือนก่อน

    Please read `man ssh-copy-id ssh-keygen` and avoid having to type passwords. You will need to type a passphrase (as complex as necessary) once per session.

  • @oliverjanssen1700
    @oliverjanssen1700 2 ปีที่แล้ว

    Acme might refer to the company in the movie roger rabbit?

  • @knowledgeseeker9695
    @knowledgeseeker9695 2 ปีที่แล้ว

    Man that Desk is too tall for you! Good videos though as usual 👏

  • @Jeremy-W0JRL
    @Jeremy-W0JRL 2 ปีที่แล้ว +4

    Once you have your hosts defined, you can use Tab completion to save even more typing!

  • @arsadhkhan3736saha
    @arsadhkhan3736saha 10 หลายเดือนก่อน

    Y

  • @mangalchandrasingh5214
    @mangalchandrasingh5214 10 หลายเดือนก่อน

    P

  • @theperfguy
    @theperfguy 2 ปีที่แล้ว

    I dont understand who this is targeted to, It might be better to label this video as relevant only to "Linux beginners"
    I mean a 10 line article would be good enough to explain this. I thought you would discuss in-depth stuff or gotchas in the ~/.ssh/config file.
    Not trying to sound passive aggressive, but context/labeling would be really appreciated (Beginners/Intermediate/Expert)

  • @stoneobscurity
    @stoneobscurity 2 ปีที่แล้ว

    i use alias'es in my .bash_profile
    then all i need to do is type 'tx1' and it connects.
    here are some others for local network servers.
    these all i need to do is type in 'st 202' and it will connect the stone user to the .202 box, etc.

    • @stoneobscurity
      @stoneobscurity 2 ปีที่แล้ว

      looks like YT filtered out my commands.

  • @tubeDude48
    @tubeDude48 2 ปีที่แล้ว +1

    no need for *CTRL-o* in nano, Just enter: *CTRL-x y Enter*