ssh question

Hello, I’m new on this forum and opensuse.
I have a little question about ssh.

When I make a connection with SSH (filebrowser, connect to server) to another PC, in the filebrowser appears a connection with sftp.

Why is that

Hi
That is the method used, (s)ecure (f)ile (t)ransfer (p)rogram open a
console and read;


man sftp


Cheers Malcolm °¿° (Linux Counter #276890)
Ubuntu 8.04 x86 Kernel 2.6.24-19-generic
20:25, 2 users, load average: 0.16, 0.03, 0.01
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

  • tjjoost,

ssh as it is doesn’t allow the transfer of files, that’s all. For an encrypted file transfer over port 22 you need SCP or SFTP:
http://en.wikipedia.org/wiki/SSH_file_transfer_protocol

HTH
Uwe

Thanks, i shall read the man sftp

Since we are on this subject I was wondering if there is a way to elevate the rights in Nautilus.

The reason I ask is that it’s a very nice feature to have remote file access in Nautilus/Konqueror, but in many situations I don’t want to allow root to directly ssh into a server.
With the terminal console you can 'su - ’ or sudo, is there some similar option (or script) to also be able to do this in Nautilus?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don’t think so… though a workaround may be to ssh in with -X (X
forwarding) and then become root with the ‘sux -’ command from where you
can run nautilus as root. This won’t help with transferring files
between systems directly but it will give you access to move files
around on the remote system, I think.

Good luck.

Magic31 wrote:
| buckesfeld;1852049 Wrote:
|> ssh as it is doesn’t allow the transfer of files, that’s all. For an
|> encrypted file transfer over port 22 you need SCP or SFTP
| Since we are on this subject I was wondering if there is a way to
| elevate the rights in Nautilus.
|
| The reason I ask is that it’s a very nice feature to have remote file
| access in Nautilus/Konqueror, but in many situations I don’t want to
| allow root to directly ssh into a server.
| With the terminal console you can 'su - ’ or sudo, is there some
| similar option (or script) to also be able to do this in Nautilus?
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFImd8g3s42bA80+9kRAl/8AJ9QaMcjD4EIZf2vi2FOiea6xBogRQCdH/m3
1BCH7liE75DGgjcI7SFIGMI=
=XOWN
-----END PGP SIGNATURE-----

Yes, it can.

Edit /etc/ssh/sshd_config

And add PermitRootLogin no

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I must not have been clear. I know you can disable root login (I do on
all my boxes) but I don’t know that you can tell Nautilus, running on
the client side, to become root once connected to the server except via
something a bit less-intuitive as previously posted.

Good luck.

tjjoost wrote:
| Yes, it can.
|
| Edit /etc/ssh/sshd_config
|
| And add PermitRootLogin no
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFImhQZ3s42bA80+9kRAjttAJ9Taph7ACLtqnwO4wx/eHyNjqj9mACePVW/
WtxwWehN32sHJ5NViYqi1OE=
=2ESJ
-----END PGP SIGNATURE-----

Hi tjjoost thanks for your answer :slight_smile:

I’m actually looking if it’s possible to elevate the rights in Nautilus when remotely connecting to a server that has the ’ PermitRootLogin no’ setting set.
With a terminal session you can elevate using ’ su - ’ but how to do that in Nautilus… if even possible.

@Ab : thanks for you answer, I’ve been Goggle’n for this too without much result… maybe a nice feature for GNOME 2.24 :wink:

Cheers,
Wj