dear openSuse Experts
while i have some issues with the FileZilla-Cient i want to test a connection to the server on commandline
sftp> ls -la
with that command i should be able to test a connection to the server
dear openSuse Experts
while i have some issues with the FileZilla-Cient i want to test a connection to the server on commandline
sftp> ls -la
with that command i should be able to test a connection to the server
sftp> ls -la
with that command i should be able to test a connection to the server[/QUOTE]
in other words -..:
sftp www2.myserver.org> ls -la
Well - since i have issues with establishing the connection with
a. filezilla
b. commandline
which other client can be user for establishing a connection ? Are there some alternatives to Filezilla ?
`sftp -oPort=625 vhost@www2.myserver.org > ls -la`
with that command i should be able to test a connection to the server
well i cannot log with Filezilla - but the keys seem to fit says the serveradmin which looks after the server and the backend
`sftp -oPort=625 vhost@www2.myserver.org > ls -la`
[/CODE
]
see the login attempt
[martin@martin-pc ~]$ sftp -oPort=625 vhost@www2.myserver.org > ls -la
The authenticity of host ‘[www2.myserver.org]:625 ([122.33.23.132]:625)’ can’t be established.
ECDSA key fingerprint is SHA256:QnvM/fbCDI6OnGsssssdddvXmIl9wauxh8XM5dcdddfr44Q.
Are you sure you want to continue connecting (yes/no)? y
Please type ‘yes’ or ‘no’: yes
Warning: Permanently added ‘[www2.myserver.org]:625,[122.33.23.132]:625’ (ECDSA) to the list of known hosts.
vhost@www2.myserver.org: Permission denied (publickey).
Connection closed
Connection closed.
[martin@martin-pc ~]$
regarding the establishing of an SSH - based connection:
cf;: the login with SSH: https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server
You will connect the the remote system and your prompt will change to an SFTP prompt. if you are working on a custom SSH port (not the default port 22), then you can open an SFTP session as follows:
sftp -oPort=custom_port sammy@your_server_ip_or_remote_hostname
note: i work in a custom port
**question:** which other client can be user for establishing a connection ? Are there some alternatives to Filezilla ?
Hi
Is the remote system and host all up to date, there where some issues with openssl/ssh and connections being refused using keys…
Can you login without using a key, as in your password.
hello dear Malcom
many many thanks for the quick reply -
well - sure thing - i think that i have to digg deeper into the ssh-techniques.
i also did a quick test with the following commands:
ssh -i /path/to/key_id_rsa vhost@www2.myserver.org -p 625
and the following:
ssh -vvvv vhost@www2.myserver.org -p625
more résults i will publish later…
Eh, I think you misread / misunderstood. The ‘sftp>’ part a prompt on the remote. See below
knurpht@Knurpht-HP:~> sftp knurpht@knurpht.nl
Connected to knurpht@knurpht.nl.
sftp> ls -la
drwxr-xr-x 21 knurpht users 4096 Dec 10 15:02 .
drwxr-xr-x 3 root root 21 May 25 2018 ..
Hi
Or run a batch command…
echo "ls -la" > batch
sftp -b batch user@host
Easier to create a test file of say 1MB and use scp.
Your error clearly says that something is wrong with the certificate you’re using… It’s either not installed properly or the certificate is incorrect.
Follow the instructions you reference to install again as carefully as possible.
If you’re still having problems,
Then post each step you did in detail.
Don’t worry for now about posting anything particularly sensitive, once you identify exactly what you’re doing wrong you can change everything including if you wish generating a new certificate.
TSU
That’s not the issue AFAICS.