My favorite SSH trick is to have a machine at work SSH back to my home domain, and provide a tunnel back for Remote Desktop or what have you. Wee, no VPN to deal with. No lack of a VPN for remote access to deal with. https://cygwin.com/pipermail/cygwin/2020-April/244384.html
That's likely to be a firing offence, no? If I were running things I wouldn't want employees deliberately subverting my network's security measures in the name of their own convenience. If you have to spend time wrestling the VPN while you're on the clock, that's their own time being wasted.
SSH hacks – a little sanity for remote workers
221–230 of 230 posts
Re: SSH hacks – a little sanity for remote workers
#222This skips my favorite reason to use mosh: it has predictive local echo and so makes high latency connections much more useable
Re: SSH hacks – a little sanity for remote workers
#223Earlier quoted context omitted.
Terminals can have mouse support. It works with some TUI apps like vim.
All the terminal software with mouse support I've found so far just messes with things, I wasn't aware that people actually use this (e.g. in vim enabling mouse support messes with the yank buffer and doesn't let me select things for clipboard copying anymore, I immediately turn that off in setups where some overzealous maintainer default-enabled it). The amount of software with support is very low anyway, so if one…
Re: SSH hacks – a little sanity for remote workers
#224Earlier quoted context omitted.
It’s probably the easiest way, but also very vulnerable. Never seen this use case or anything similar myself. Do you have other examples? I want to broaden my horizons
In general I'd say SSHing from a remote box to another remote box is a non-issue since you can always use some sort of tunneling/bastioning to make that work. It's when you want to use some other tool that tunnels over SSH -- scp, git, sftp, rsync, etc. -- that you run into trouble. Consider a remote development instance. So I'm an engineer, and instead of developing on my local I do development on an EC2 instance in…
That said, I don't have to do that often; If I did, I'd probably look for a simpler way (or ignore my paranoia and use ssh agent forwarding...)
Re: SSH hacks – a little sanity for remote workers
#225Re: SSH hacks – a little sanity for remote workers
#226I always create and heavily use ~/.ssh/config Host x Hostname full.host.name.com (or 1.2.3.4) User IdentitiesOnly yes IdentityFile ~/.ssh/id_x_ed25519 I give hosts short names so you can `ssh x` to do automatic login, I generate identities for some machines ssh-keygen -t ed25519 -f ~/.ssh/id_x_ed25519 use ssh-copy-id to copy the identity to the target machine so it lets you in: ssh-copy-id -i ~/.ssh/id_x_ed25519.pub…
Re: SSH hacks – a little sanity for remote workers
#227Earlier quoted context omitted.
Interesting. Any likely reasons why not having IPv6/AAAA make the site inaccessible to them? Sounds like most of the internet would be inaccessible to them as well?
A broken AAAA record, perhaps. Sometimes the AAAA is invalid or broken without getting noticed by the sysadmin. I've personally reported broken AAAA records before.
Re: SSH hacks – a little sanity for remote workers
#228Earlier quoted context omitted.
At a large company, I imagine IT would be concerned about this setup. Though it’s on them to make the proper VPN solution more usable. Hacking your home domain would give someone a powerful jumping off point for hacking other things on your corporate network.
Less of a surface than in the scenario that the home domain is hacked and there is VPN running.
Re: SSH hacks – a little sanity for remote workers
#229Earlier quoted context omitted.
The core API's of Windows are so stable that if someone got it working once on WIndows NT, the executable should work for everyone on Windows 2000, Windows XP, Windows Vista, Windows 7, 8 and 10, ...
Yup - one of my smarter colleagues had a go at getting it compiled on Windows, and basically gave it up as the library dependencies were such a mess on that platform. No one seems to have packaged up binaries for it either.
Is that good enough support?
Re: SSH hacks – a little sanity for remote workers
#230Earlier quoted context omitted.
Yup - one of my smarter colleagues had a go at getting it compiled on Windows, and basically gave it up as the library dependencies were such a mess on that platform. No one seems to have packaged up binaries for it either.
> Win32 (with Cygwin) Is that good enough support?
We tried.
MinGW refers to headers from BSD sockets, which doesn't exist on windows.