We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Team,
I am trying to use scp and ssh using gossm(latest version) For SCP, I am running below command:
gossm scp -e '-i mykey.pem provider.tf [email protected]:/home/ec2-user/provider.tf'
I am getting below error:
[update] aws ssm plugin region (eu-west-1) [←[32mscp←[0m] region: ←[33meu-west-1←[0m, target: ←[33mi-00edc94f4fd92b568←[0m scp -i mykey.pem provider.tf [email protected]:/home/ec2-user/provider.tf panic: interface conversion: interface {} is nil, not string
goroutine 1 [running]: github.com/aws/SSMCLI/src/sessionmanagerplugin/session.ValidateInputAndStartSession(0xc000114000, 0x6, 0x8, 0xdd6b20, 0xc000006018) /session-manager-plugin/build/private/src/github.com/aws/SSMCLI/src/sessionmanagerplugin/session/session.go:155 +0xc95 main.main() /session-manager-plugin/src/sessionmanagerplugin-main/main.go:26 +0x65 kex_exchange_identification: Connection closed by remote host lost connection [err][internal.CallProcess:579] exit status 1 �[33mDelete Session�[0m �[33mvault-1649585555-4314-0e86e1ae247e7b16d�[0m
===================================================
For ssh also I am getting similar error:
PS C:\Users\dipander.goyal\Downloads> gossm ssh -e '-i session-mgr-euwest1.pem [email protected]' region (eu-west-1) [�[32mssh�[0m] region: �[33meu-west-1�[0m, target: �[33mi-00edc94f4fd92b568�[0m ssh -i session-mgr-euwest1.pem [email protected] panic: interface conversion: interface {} is nil, not string
goroutine 1 [running]: github.com/aws/SSMCLI/src/sessionmanagerplugin/session.ValidateInputAndStartSession(0xc000114000, 0x6, 0x8, 0xdd6b20, 0xc000006018) /session-manager-plugin/build/private/src/github.com/aws/SSMCLI/src/sessionmanagerplugin/session/session.go:155 +0xc95 main.main() /session-manager-plugin/src/sessionmanagerplugin-main/main.go:26 +0x65 kex_exchange_identification: Connection closed by remote host [err][internal.CallProcess:579] exit status 255
33mDelete Session�[0m �[33mvault-1649585555-4314-054d509536243be49�[0m
=================================================
Please advise! Thanks in advance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi Team,
I am trying to use scp and ssh using gossm(latest version)
For SCP, I am running below command:
gossm scp -e '-i mykey.pem provider.tf [email protected]:/home/ec2-user/provider.tf'
I am getting below error:
[update] aws ssm plugin
region (eu-west-1)
[←[32mscp←[0m] region: ←[33meu-west-1←[0m, target: ←[33mi-00edc94f4fd92b568←[0m
scp -i mykey.pem provider.tf [email protected]:/home/ec2-user/provider.tf
panic: interface conversion: interface {} is nil, not string
goroutine 1 [running]:
github.com/aws/SSMCLI/src/sessionmanagerplugin/session.ValidateInputAndStartSession(0xc000114000, 0x6, 0x8, 0xdd6b20, 0xc000006018)
/session-manager-plugin/build/private/src/github.com/aws/SSMCLI/src/sessionmanagerplugin/session/session.go:155 +0xc95
main.main()
/session-manager-plugin/src/sessionmanagerplugin-main/main.go:26 +0x65
kex_exchange_identification: Connection closed by remote host
lost connection
[err][internal.CallProcess:579] exit status 1
�[33mDelete Session�[0m �[33mvault-1649585555-4314-0e86e1ae247e7b16d�[0m
===================================================
For ssh also I am getting similar error:
PS C:\Users\dipander.goyal\Downloads> gossm ssh -e '-i session-mgr-euwest1.pem [email protected]'
region (eu-west-1)
[�[32mssh�[0m] region: �[33meu-west-1�[0m, target: �[33mi-00edc94f4fd92b568�[0m
ssh -i session-mgr-euwest1.pem [email protected]
panic: interface conversion: interface {} is nil, not string
goroutine 1 [running]:
github.com/aws/SSMCLI/src/sessionmanagerplugin/session.ValidateInputAndStartSession(0xc000114000, 0x6, 0x8, 0xdd6b20, 0xc000006018)
/session-manager-plugin/build/private/src/github.com/aws/SSMCLI/src/sessionmanagerplugin/session/session.go:155 +0xc95
main.main()
/session-manager-plugin/src/sessionmanagerplugin-main/main.go:26 +0x65
kex_exchange_identification: Connection closed by remote host
[err][internal.CallProcess:579] exit status 255
33mDelete Session�[0m �[33mvault-1649585555-4314-054d509536243be49�[0m
=================================================
Please advise! Thanks in advance.
The text was updated successfully, but these errors were encountered: