Giter VIP home page Giter VIP logo

openssh_install's Introduction

openSSH_install

This is the easiest way how to upgrade openSSH to the latest verion. At the time of writing this guide, the latest openSSH version is OpenSSH 9.3 portable released March 15, 2023 available on this web page https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/

First of all, baskup sshd_config file.

  •  sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config_bkp
    

This config file will be used by new instalation

Please, download the folder called "latest". This folder consists the files we have to copy into /usr/lib/systemd/system/

After the folder "latest" is downloaded, the owner of the files iside of the folder must be change

  •  sudo chown root:root ./latest/*
    
  •  sudo cp ./latest/* /usr/lib/systemd/system/
    

For installation proces we use the file "./openSSH_opt_install.sh" To execute this file we have to chage mode to executable file

  •  sudo chmod +x ./openSSH_opt_install.sh
    

After executing the file please, follow instractions on the screen.

  • Download the folder called "latest" and change owner of the files
  • System update && upgrade
  • Install dependencies
  • Compile and install new version openSSH into /opt folder
  • If openSSH was upgraded before and now, you want to upgrade openSSH again, press 5 to recreate simbolic links
  • Start ssh-latest.service
  • Check what posrt is activated to use ssh
  • Check what version of SSH is running

openssh_install's People

Contributors

ars3n3-lupin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.