Sync system time between Windows PC and Linux Device - ssh

I am using a Windows laptop running Windows 10 to ssh, using putty, into an Odroid XU4 running Ubuntu 18.04. When the ssh connection is established, I use putty to modify a few files on the Odroid. However, the system time for the Odroid is much different than that of my Windows laptop and the timestamps get really screwed up. There is no internet or RTC backup battery for the Odroid, so the time always resets when it is powered off. Is there a way to set the date and time of my Odroid to that of my Windows computer so the system times match up?

Related

Remote access to a Jetson Nano

I am trying to remotely access a Jetson Nano from my mac. So far I have done the following:
I installed microsoft Remote Desktop on my mac
I connected the nano with my mac through the Micro-usb Port
In network I could see the connection "linux for Tegra" where my nano would be 192.168.55.1
With this I still cannot remote access the nano
So I open a terminal and typed
>ssh username#192.168.55.1
and I could access the nano terminal.
So I think now, I have to do
>sudo apt install xrdp
in order to be able to remotely access the GUI.
However, the nano does not have internet connection.
Is there a way that it can use the internet connection of my mac to do this?
(I am reading a tutorial on Rasppi with windows and apparently this is possible)
One of the approaches is to install X server for mac and then use ssh -Y username#192.168.55.1. You will get the command line shell first but you can type in commands like gedit - they windows will show up on the host.
192.168.55.1 is the same network as any other. All tools supposed to work over TCP/IP should work with it as well.
USB is a Serial connection by default.
On windows use a putty based tool.
For example start with MobaXterm > New session > Serial #11500
Login
Password
It won't forward internet by default.
Best simple way is to plug in your phone as USB network sharing and plug in to the laptop via micro-USB.
For Linux, Ubuntu, use a serial ("COM" related stuff) tool.
If you want to do ssh through USB it will require custom editing of networking file.
By default Nano is using a bridge called L4TBRO on 192.168.55.1, laptop is client in .100.
DNS server is on Nano's side.
You would have to create a new interface but using your laptop as DCHP and DNS servers.
Note that usb can power the Jetson Nano for continuous execution on a recent laptop. Some recommends not to and it may crash if you run a compilation on all cores. (if it crashes, just disable 2 cores via nvpmodel -m 1)

Not picking up 2nd vm

Hi good day cut a long story short I am trying to run two vms on two different pcs as my main pc can t handle them both running at the same time do my current setup is
Dell(main pc) running parrot os in vm
Crappy laptop running durp n stink in vm
Both on same Wi-Fi both share internet connection via shared connection under Wi-Fi options shared but the problem I am facing is when I do any scan on network e.g. Netdiscover nmap etc i can pick up everything else on the network
Phones xbox the laptop running Windows 7 but I can't actually pick up the Ubuntu os that's running in vm
I forgot to mention they are running virtual box latest version and both are setup to allow vm under network settings plus both set to bridged

A good SSH client to open Gnome/KDE desktop sessions from Windows machines?

I'm using MobaXterm to open a Gnome desktop session on a remote system from my Windows 7 workstation with SSH and X11 forwarding. It all works very well, the remote machine is a calculation cluster that runs on CentOS. The only drawback is that MobaXterm doesn't seem to catch keyboard shortcuts like "alt+tab", which gets really annoying on the long run.
Is there another SSH client that would allow me to do what I'm doing now but with keyboard shortcut recognition?

Remote login desktop environment

So here's the deal, I recently started to get into the whole server world and seriously genius and practical! I started slow with file sharing and then remote login. I now can manage to login into my server with ssh and it's great but sometimes command line interface is not enough for what I want to do. So I remembered that in my university students where able to login with their university-account into any computer connected to university server, wether it was Windows, FreeBSD or any GNU/Linux distribution such as Debian or Fedora. So I'm trying to do the same at home. My server is up and running on Debian now I now want to be able to login to my server with a desktop environment, like in my university. The client I'm using is MacBook Pro running Mac OS X Lion. But I don't know what protocol is that or how to set it up any clue?
What you are looking for is VNC (Virtual Network Computing).
http://en.wikipedia.org/wiki/Virtual_Network_Computing

Get remote cmd from linux termnal

I need to run some scripts in a windows remote machine from a terminal linux, I've tried using telnet however in the windows machine it's unable and there isn't installed a ssh server. So I need other way to run the command remotely without a graphical interface.
I have the possibility for run the command from a windows machine, however I need to open a SSH Tunnel to see the remote machine, I've used psexec but it didn't work for me.
Do you have access to install software on the remote server?
Your SSH client will not be able to connect to the remote machine unless that machine is running an SSH server to respond to your client's connection request.
There are a number of possible options for SSH servers to run on Windows.
(Google for ssh server windows)
Because SSH gives an external user some access to/control over your server it is designed to be a secure tool. I would therefore recommend using an SSH server which is still actively maintained, and keep it up to date. Servers which are old and no longer supported are are likely to contain known security issues which may never be addressed, thereby leaving your server vulnerable.
There are a number of good free open-source solutions for this, so you shouldn't need to buy anything.
In the past I've worked with Windows machines running Cygwin, with the OpenSSH ssh server installed. Depending how much of the Cygwin system you choose to install, it can make the target Windows host rather like logging into another Linux box in terms of environment.
You can download the installer for Cygwin from http://www.cygwin.com/