You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
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: