Skip to content
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

Ap/ssh Implemented SSH by using the exsting infrastructure #293

Merged
merged 6 commits into from
Apr 5, 2019
Merged

Ap/ssh Implemented SSH by using the exsting infrastructure #293

merged 6 commits into from
Apr 5, 2019

Conversation

peske
Copy link
Contributor

@peske peske commented Apr 4, 2019

I will also call Felix to review this PR, if he has time.

return;
}

var profile = new ShellProfile
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually we probably want to define a dedicated RemoteProfile type but this will probably do for now

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's just a temp solution for now. I think we will need to extend this once we allow to also store connections

var profile = new ShellProfile
{
Arguments = $"-p {connectionInfo.Port:#####} {connectionInfo.Username}@{connectionInfo.Host}",
Location = @"C:\Windows\System32\OpenSSH\ssh.exe",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do all versions of Windows which FluentTerminal supports include OpenSSH? If not, there should probably be some graceful handling of this (i.e. explain to the user why it doesn't work).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like openssh.exe was added in 1709, which is also our current minimum version

Copy link
Contributor Author

@peske peske Apr 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenSSH is a "Windows Feature", and can be installed if already isn't. (The same as with WSL.) But yes, I agree that we should handle this! Will create an issue for this one.

@felixse felixse merged commit 973b1a4 into felixse:master Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants