9 ms·
PuTTY is fine of course, but just FYI to those who don’t realize it: Microsoft has worked for a while to port OpenSSH to Windows proper. I think they are even s
by jchw 7y ago
PuTTY is fine of course, but just FYI to those who don’t realize it: Microsoft has worked for a while to port OpenSSH to Windows proper. I think they are even shipping it with Windows nowadays.
https://github.com/PowerShell/openssh-portable https://github.com/PowerShell/openssh-portable
- kbenson 7y agoI ran into some problems with the agent last time I tried to use it, unfortunately. I would love to be able to use OpenSSH with the new Windows Terminal (well, eventually, the Windows Terminal has some annoying edge cases too, but is very promising, which is acceptable for something in a preview/beta state).
- zamadatix 7y agoWhat's the best replacement for serial port connectivity on Windows? That PuTTY has it's own terminal settings always bothered me but I'm not sure what all is popular.
- rhexs 7y agoAs a guy who uses serial enough to wonder the same thing, my solution was buying a cheap Linux machine. Serial is thousands of times simpler and more convenient to use on Linux. Probably not too helpful if you’re dealing with poorly written windows serial software targeting embedded though.
- bleomycin 7y agoWhat software are you using on linux to interface with serial? I always used screen but it seems there’s probably a better way?
- rhexs 7y agoScreen. Most of the time saved is not having to try to install whatever bizarre serial driver windows needs. Also python if you need to programmatically connect and operate a device over serial. Quite easy.
- ahartmetz 7y agoYep, screen is the easiest. Minicom often gets confused, or at least confuses me with its weird UI. With screen I just run "screen /dev/ttyUSB0 115200".
- elsjaako 7y agoI usually recommend Termite to people https://www.compuphase.com/software_termite.htm https://www.compuphase.com/software_termite.htm
- ch_123 7y agoIf you have WSL installed, I believe it's possible to use the standard Linux serial utilities with a USB-RS232 dongle. If WSL was not an option, I personally would still use PuTTY
- xorcist 7y agoNot sure which serial utilities are standard though. I know many use Kermit, but I never found it very unixish. I personally use 'screen'. It's a perfectly capable terminal for serial communications. It can even catch zmodem handshakes (it's in the manual).
- jchw 7y agoI also use screen for this, though I find myself accidentally leaving sessions in the background and wondering why I’m missing characters in the output. That said, does WSL really provide serial devices? That’s pretty awesome. I wonder if USB also is a thing in the WSL2 world.
- runjake 7y agoYes. This works even in WSL 1. I use GNU Screen in WSL on the regular to console into network switches.
- tssva 7y agoYou can use the PuTTY cli command plink. For example: plink -serial COM1 -sercfg 9600,8,N,1,N This will connect to serial port COM1 at 9600 baud, 8 databits, no parity bits, 1 stop bit and no flow control.
- zamadatix 7y agoThis is pretty nifty, thanks.
- SteveMoody73 7y agoTera term is what i tend to use. https://ttssh2.osdn.jp/ https://ttssh2.osdn.jp/
- smitty1e 7y agoMobatek's MobaXterm is a truly superior product: https://mobaxterm.mobatek.net/ https://mobaxterm.mobatek.net/ SSH, remote desktops, hugs & cupcakes for all my friends!
- swtrs 7y agoMobaXterm's colored terminals have saved my bacon more than once. Great app.
- geocrasher 7y agoAnd, it imports PuTTY sessions seamlessly. A wonderful upgrade. Another consideration is that the free version is licensed for commercial use, which is why I freely recommend it at work and with a clear conscience.
- AhtiK 7y agoFrom: https://mobaxterm.mobatek.net/ https://mobaxterm.mobatek.net/ > Tabbed terminal with SSH > Based on PuTTY with antialiased fonts and macro support MobaXterm and PuTTY cover very different use-cases, PuTTY being a subset with close to 100% feature parity.
- qzw 7y agoIt’s a great Swiss-army-knife of a terminal. One annoying thing that I’ve lived with for years is that it won’t start on my second monitor. I always have to move its window after starting it. I tried to file a bug years ago, but couldn’t find a way to do it on their website. Maybe it’s time to look again.
- xorcist 7y agoMobaXterm is not free/open source software. This may or may not be relevant to you of course.
- smitty1e 7y agoWhat do you mean? They offer a paid version with some minor bennies. The product is of sufficient value that it's worth supporting.
- oso2k 7y agoI tend to prefer to use git-bash or msys/mingw when I have to work on a Windows machine. Never became a fan of Powershell.
- shawnz 7y agoDespite the repository owner there's no dependency on Powershell. You get a normal ssh.exe binary.
- Scarbutt 7y agoyes, but the putty terminal is still better than cmd prompt.
- sebazzz 7y agoFor me it is a keychain / bookmark system. Though I suppose I could use Keepass for that as well.
- cwyers 7y agoThe new Windows Terminal app is a massive improvement on the Windows Console, even while it's in beta. https://devblogs.microsoft.com/commandline/introducing-windows-terminal/ https://devblogs.microsoft.com/commandline/introducing-windo... I've found that between OpenSSH for Windows, Windows Terminal and WSL, I don't need PuTTY anymore. It's also nice to be able to use the same SSH keys on Windows and Linux instead of converting PuTTY keys to OpenSSH keys and vice versa.
- WorldMaker 7y agoGive the modern Windows Terminal preview a shot if you get a chance. (You'll need a recent Windows 10 1903, at least. It's in the Microsoft Store or you can install from GitHub.) The Windows Console team has been putting in a lot of work at making everything terminal better for everyone on Windows. (The Windows Terminal is powered by a new Linux-like PTY system that other terminals can use instead of screen-scraping ConHost like they used to. Which also means fewer "translation" layers between the old Console system and WSL PTYs.)
- majkinetor 7y agoand kitty is better then putty.
- richardlblair 7y agoWSL is the answer to anything where you go "I want ____ from <linux distro>". Install a decent terminal emulator, open it, type "bash" and win.
- deleted 7y ago[deleted]
- imafish 7y agoUnless you are stuck on an old version of Windows (or Win Server). I am using the Win port of OpenSSH for exactly this reason.
- tlynchpin 7y ago"Install a decent terminal emulator" - this is the big problem for any command line experience on windows. What do you suggest?
- y4mi 7y agoI'm currently using wsltty, which is mintty for wsl. It's decent, but it's terrible on fast scrolling texts (i.e. `docker logs` for a container without a maximum log size configured) Alacritty is great if you need actual performance. Hyper is actually the one with the overall best experience, but it is electron and the usual issues apply. Fwiw, mobaxterm can also be configured to use wsl.
- pedrocx486 7y agoIs Cmder/ConEmu good? I use it and kinda expected it to be listed.
- mikewhy 7y agoConEmu works but honestly every time I look into Windows terminals I keep looking for another option, there's just so many issues with ConEmu.
- signal11 7y agoYes, %Windir%\System32\OpenSSH has all the OpenSSH binaries. It also ships with curl and tar. No gzip, although tar understands the z option. PS. Most shockingly of all, Windows's Notepad reads and writes Unix-style LF-terminated files.
- jchw 7y agoI first hit the lack of LF line endings support at around age 11 on Windows 98. It’s genuinely pretty weird to realize it’s finally fixed
- tomatocracy 7y agoInteresting. Wordpad could always handle LF-only well enough and came with Windows 95 and onwards so you could always use that. Not sure why that wasn’t more widely known. (Though on newly added lines it did add CR+LF rather than staying consistent to the source file).
- jchw 7y agoThe trouble with Wordpad was that it was not a good editor for plaintext. It was clearly designed for rich text. I preferred third party editors very greatly.
- Paperweight 7y agoKind of like TextEdit is on macOS is today (the one bundled with the OS). It's slightly annoying that you have to twiddle a bunch of the preferences to make it a workable plaintext editor. Apple should just delete its rich text functionality, now that they bundle a real word processor (Pages) with the OS.
- valleyer 7y agoIMO, you have to twiddle exactly one preference, exactly once, to make TextEdit a workable plaintext editor. In TextEdit -> Preferences..., select the "Plain text" radio button. New documents are created as plain text now.
- mc32 7y agoThe one nice thing about putty is the option to write output to logs.
- royjacobs 7y agoIs there a guide somewhere on how to set this up as a Pageant replacement for git purposes?
- m-p-3 7y agoI guess I like having the prelogin GUI of PuTTY.
- grenoire 7y agoSaving credentials and much more with the GUI. Not to discount the value of all the cool utilities it comes with.
- jchw 7y agoJust to be clear: there are advantages to OpenSSH too. The Windows port has an agent that runs as a service, you can configure using the standard .ssh/config mechanism that works with lots of FOSS software, and etc.
- pfranz 7y agoHoly jeez are there benefits to OpenSSH over PuTTY. I have to walk end users through setting up PuTTY. Since configuration uses the registry and there are no import/export configs I have to walk them through the UI, which is a mess (especially when they miss a step). For macOS users I just give them a command line to copy/paste. We've considered requiring WSL (a few gig install) just to get ssh in Windows because those users have had better experiences. Thankfully, it's now built in.
- sequence7 7y agoYep, you can just run the following command in PowerShell to enable ssh. Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 You can check if ssh is enabled with this command. Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
- deleted 7y ago[deleted]