aws – how to mongorestore mongoDB 4.2 to documentDB 4.0?

I need to do mongorestore from my mongodb 4.2 to DocumenDb 4.0 compatible i got the command from aws
which is this

mongorestore --ssl --host="" --username=user --password=pass --sslCAFile rds-combined-ca-bundle.pem dump

but it is showing me this error

(1) 1120
-bash: dGFp: command not found
(root@mongo-tf-doc01 dump)# 2021-04-06T12:10:48.434+0000        error connecting to host: could not connect to server: server selection error: server selection timeout
current topology: Type: Single
Addr:, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection( connection is closed

I am able to connect documentdb successfully so i know this is not a connection problem but error occurs when i restore