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

Поделиться
HTML-код
  • Опубликовано: 23 авг 2024

Комментарии • 43

  • @sdharden01
    @sdharden01 9 дней назад

    I just wish I had watched these videos BEFORE I worked on my last project at work (Linux newbie here). Anyway, I'll be MUCH more useful to the team going forward! Thanks.

  • @bahathir_
    @bahathir_ 2 года назад +11

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

  • @dleivam
    @dleivam 2 года назад +1

    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.

  • @kjlw99
    @kjlw99 Год назад +1

    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

  • @pierre-huguesaubertin1654
    @pierre-huguesaubertin1654 2 года назад +6

    Shinra is for ff7 and skynet is for terminator

  • @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 :)

  • @Efim88
    @Efim88 2 года назад +2

    Super useful! Thank you!

  • @One_piece1089
    @One_piece1089 5 месяцев назад

    you are an amazing one 😍😍 Thank you a lot

  • @gobikrish276
    @gobikrish276 2 года назад

    Thanks Jay it is great way to simplify SSH login

  • @wparsa
    @wparsa 6 месяцев назад

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

  • @clipsworld6391
    @clipsworld6391 4 месяца назад

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

  • @maxwellmuhanda7940
    @maxwellmuhanda7940 2 года назад

    love your tutorials a lot so direct soo helpful

  • @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.

  • @raul230285
    @raul230285 2 года назад +2

    Cool man, thanks...!!

  • @michaels8297
    @michaels8297 2 года назад

    Thank you jay!

  • @prophetjamz94
    @prophetjamz94 2 года назад

    Shinra - FF7,
    Skynet - Terminator Franchise
    Lol nice references

  • @hacks_hackers
    @hacks_hackers 2 года назад

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

  • @msheikfaaruk56
    @msheikfaaruk56 2 года назад

    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 ?

  • @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).

  • @GergelyCsermely
    @GergelyCsermely 2 года назад

    Thanks

  • @anjalimesh
    @anjalimesh 2 года назад

    Superb

  • @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

  • @waltsullivan8986
    @waltsullivan8986 Год назад

    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.

  • @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'

  • @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.

  • @oliverjanssen1700
    @oliverjanssen1700 2 года назад

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

  • @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

  • @ChandrashekarCN
    @ChandrashekarCN 5 месяцев назад

    💖💖💖💖

  • @entheogenetic1
    @entheogenetic1 2 года назад +2

    lol'd on potato. nice video

  • @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 Год назад

    Y

  • @mangalchandrasingh5214
    @mangalchandrasingh5214 Год назад

    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*