D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Reinstalling Ubuntu

 

On 15/11/16 19:07, Simon Avery wrote:
Hi Richard

apt-get install ssh

Then it should just work (I think Ubuntu includes ssh-server as well as the client). You would "ssh ip_of_server" from another linux box, or run something like putty "putty ip_of_server" from a windows machine.

The configuration would be stored in /etc/ssh/sshd_config (at least on debian, and I believe ubuntu is similar)

Out of the box it should be reasonably secure (ubuntu not having a root account especially)



On 15 November 2016 at 17:51, Richard Brown <rich@xxxxxxxxxxx> wrote:
Hi

I have jumped to 16.10. And surprisingly you answered my next question! How do I install and use ssh on a nix box please? I have installed and also set up a static IP address. Now just need to know how to connect to it!

Thanks for the help and sorry for taking the fun away. I have been given another laptop. I might go through the same process and after breaking it - come and learn how to rebuild then!

Rich


On 14 November 2016 at 17:48, mr meowski <mr.meowski@xxxxxxxx> wrote:
On 14/11/16 17:17, Richard Brown wrote:
> Hi All
>
> Just a quick catch up. Managed to get the system back up and running
> using a usb drive. Discovered there wasn't much that needed saving - I
> had it all backed up. So reinstalled and have got a lovely system back
> up and running. Thanks for all the help.

Glad to hear it, although you did kind of miss out on all of the "fun"
of fixing what would have ultimately been a relatively minor problem.

For your own sanity I hugely recommend installing SSH and assigning (I'm
presuming this is your main PC) it a static IP address so you if
something like this happens again you can always remote into it without
having to check the DHCP leases on your router to find out where it is
on the network. Outside of specialist corporate scenarios I struggle to
think of a reason why one wouldn't want SSH on their *nix machines, it's
completely invaluable!

sudo apt install openssh-* -y

There are many different ways to assign a static IP (via NetworkManager,
WICD, /etc/network/interfaces) but a quick google will let you choose
whichever suits you.

Did you stick with 16.04 for LTS or jump to 16.10?

Cheers

--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq



--
Kind regards

Richard Brown
07747 343637


--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq




FYI

ssh username@xxxxxxxxxxxxx -X

will allow you to run X11 things remotely (you need a good connection) like say synaptic and the GUI will appear on your machine (if running a desktop) - this can be really handy.

Tom te tom te tom

-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq