D&C GLug - Home Page

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

Re: [LUG] Reinstalling Ubuntu

 

My netgear router allows me to use DHCP but also allows me to bind a
specific IP address to the device MAC address (reservation) this works
too.

If you are going to have this available for remote login you can also
install fail2ban (this has a really good man page) so you can limit
login attempts and ban that ip for a period of time if there is a login
attempt that fails more than 3 times (for example).  (Thank you to Henry
Brembridge for teaching me that one).

you can also use programs like tmate,  to get remote help from other
users again this is documented,  some of the younger tech jam attendees
use this to help each other.

Paul

On 15/11/16 19:19, M. J. Everitt wrote:
> On 15/11/16 19:12, Tom wrote:
>> 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
>>> <mailto: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
>>>     <<mailto:mr.meowski@xxxxxxxx>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
>>>         <https://mailman.dclug.org.uk/listinfo/list>
>>>         FAQ: http://www.dcglug.org.uk/listfaq
>>>         <http://www.dcglug.org.uk/listfaq>
>>>
>>>
>>>
>>>
>>>     -- 
>>>     Kind regards
>>>
>>>     Richard Brown
>>>     07747 343637
>>>     http://gucu.org.uk/
>>>
>>>
>>>     --
>>>     The Mailing List for the Devon & Cornwall LUG
>>>     https://mailman.dclug.org.uk/listinfo/list
>>>     <https://mailman.dclug.org.uk/listinfo/list>
>>>     FAQ: http://www.dcglug.org.uk/listfaq
>>>     <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
>>
>>
>>
> SSH X forwarding can be abysmally slow .. I'd recommend VNC over X
> forwarding any day. x11vnc is the package to show the existing desktop,
> whereas vnc-server will create a remote X server, rather than the actual
> X desktop on the target machine :) You can use ssvnc if you need to wrap
> it through SSH (ie creates a tunnel for encrypted connections) but I
> have found this a bit tricky with x11vnc on occasions - YMMV and all
> that. You can of course ssh and tunnel the VNC port manually if you're
> over an insecure (Eg. internet) link and not your own personal LAN. Enjoy!
> 
> MJE
> 
> 

-- 
http://www.zleap.net
diaspora : zleap@xxxxxxxxxxxxxxxx
sign up at : https://joindiaspora.com/users/sign_up
Torbay Tech Jam http://torbaytechjam.org.uk
Next Tech jam Saturday 12th November

Attachment: signature.asc
Description: OpenPGP digital signature

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