-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing PuTTY sessions #10943
Comments
Putty sessions are stored at |
You could try creating a profile that calls |
A Windows Terminal profile that calls |
My suggestion was more on how to make it easier to import into Terminal. I know how can I do this manually (it's even in FAQ :P) but it would be so much more convenient if there was built-in tool for that (especially for lazy people like me ;)). And one of the reasons for that is the fact that you can't use |
This is a fun idea for a dynamic profile generator. Thanks! |
Notes for someone who may be interested in working on it: putty ships a command-line SSH client of its own, |
When I last tried running plink.exe in Windows Terminal, I could not get the VT sequences to work. I don't remember whether the problem was in input or in output. Anyway, plink is not intended for interactive use. |
After 30 seconds of experimentation - yea that's the impression I get. Arrow keys definitely didn't work, and Ctrl+C did instantly kill That being said, the sessions are all listed in |
Ah, that's a fair point. Thanks! |
I realize we're all used to PuTTY, but ssh has been part of windows for a while now. You can definitely get the same effect with Ctrl+C working if you use ssh instead of plink. The command line I use is |
I mean, yes, we're all aware that you can use Using |
@zadjii-msft , xould you take a look at this and perhaps give some feedback? As this is not yet fixed I've got a small workaround for this: |
(I'm tagging this for discussion because I never saw the above comment till today, and I want to circle back on it once I'm off paternity leave) |
That's a slick script, and looks like it does most of what people would want. We're trying to draw the right balance here between what dynamic profile generators to include in-box, and which to exclude. If we add too many, then people's settings get polluted with quite a few dynamic profiles, and our experience for configuring those today is... less than great. The code in #13763 might help with this, for letting floks nest profiles in the dropdown easily, but that's not a good enough solution. I think (at the moment), I'd rather this stay an external tool. Something folks can easily run and synthesize profiles for themselves, but not forced on everyone by default. We've got near-ish term plans for dynamic profiles as extensions, and this would make a GREAT test case for that. In fact, I'm putting it into the planning timetable as our prototypical example of such an extension. |
Do we able to get this feature in windows terminal as tab? like supperputty? In supperputty I workaround used permanet doskey to saved my username and password and limit windows terminal to one so every new session can open that same supperputty, but I would like 1 place for everything to terminal. it would more clean view if this can happen in terminal. doskey I used like be p ip or s ip it will open all and login, openssh one issue it take -l argument but do not take -pw argument, secondly have to add all algorithm setting as i login to some devices are old that support old one, putty this support bydefault. |
While it is not integrated in WT, you can try this solution: https://github.com/SailorMax/psh |
Is it possible to use it for Serial Connections? |
Currently only ssh. I never used Serial Connections. |
I am not able to Console Cisco Switch. It seems Putty is standalone GUI, thus it might be not possible to make serial connection through WT. I am looking a way to make Serial Connection through/within Windows Terminal. |
To work in WT you can use plink.exe from putty's package ( |
Interesting. Plink is working, however I couldn't make psh, and that's fine. My goal is to be able to manage/do my job all in WT. |
Description of the new feature/enhancement
I wonder if there's a chance for (or a way if it is there and I can't simply find it ;)) making import and later sync for PuTTY sessions. I do know that PuTTY can't be used inside Terminal but it would be great if we could simply import and manage sessions instead of making all the entries.
Proposed technical implementation details (optional)
There are tools that wraps putty (like SuperPuTTY for example) and they have a way to import sessions by opening window for that.
What I'd like to get is to have new option when adding new profile. That could be a button that would open window with a list of PuTTY sessions where I could choose which one I'd like to import as a Terminal profiles.
As a bonus feature it would be great to have checkbox for syncing all the profiles so if I'll get a new one in putty it will show up in Terminal as well.
Cherry on top would be to have auto sync for all the imported profiles to stay up to date with Putty but at least manual sync would be enough.
Is that even possible to achieve?
The text was updated successfully, but these errors were encountered: