Dude, just use `scp` instead. Way simpler for single files:
`scp user@host:/remote/file /local/path`
No need to mess with interactive sftp sessions.
And yeah, SSH keys are the way to go for passwordless stuff. Google "ssh key setup" and you’ll find a ton of guides.
`scp user@host:/remote/file /local/path`
No need to mess with interactive sftp sessions.
And yeah, SSH keys are the way to go for passwordless stuff. Google "ssh key setup" and you’ll find a ton of guides.
