Results 1 to 9 of 9

Thread: Remote Access

  1. #1
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Remote Access

    Hi, i try to give a friend of mine access to my machine over the internet.
    I know you can do it with ssh (there is a nice howto here) but i would like to have a gui access and specify what folder he can see and use.

    What would be the programs i need to do that or is there any how to for that? I was looking through some howto's but i am not really smarter know.

    Thanks for the help. A link for a how to would be ok too.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,844
    Blog Entries
    15

    Default Re: Remote Access

    On Sat, 2011-04-09 at 21:36 +0000, JoergJaeger wrote:
    > Hi, i try to give a friend of mine access to my machine over the
    > internet.
    > I know you can do it with ssh (there is a nice howto here) but i would
    > like to have a gui access and specify what folder he can see and use.
    >
    > What would be the programs i need to do that or is there any how to for
    > that? I was looking through some howto's but i am not really smarter
    > know.
    >
    > Thanks for the help. A link for a how to would be ok too.
    >

    Hi
    Install teamviewer6 (google for the link) else there is always NX from
    nomachine, but you would need to open someports and some forwarding on
    your router.


    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
    up 3 days 5:51, 2 users, load average: 1.01, 1.07, 1.12
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26


  3. #3
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: Remote Access

    Thanks for the tip. I will google for it and see how far i get.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,628
    Blog Entries
    3

    Default Re: Remote Access

    If he just needs GUI access for a few individual programs, and knows how to start those at the command line, the "ssh -X" will do X-windows forwarding. You might need to check your sshd_config to see if that is allowed, but I think allowing it is the default.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5
    Join Date
    Apr 2010
    Location
    i am location
    Posts
    1,421

    Default Re: Remote Access

    Actually no programs. I just want to able to let my friend download something at the time i am not there.
    These programs were ok, but not really what i need. Thanks though.
    I was reading about ssh and it may be something i can use. Right now i am setting up a ftp server which comes close to it. Of course it needs to be secure too.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,844
    Blog Entries
    15

    Default Re: Remote Access

    On Sun, 2011-04-10 at 03:06 +0000, JoergJaeger wrote:
    > Actually no programs. I just want to able to let my friend download
    > something at the time i am not there.
    > These programs were ok, but not really what i need. Thanks though.
    > I was reading about ssh and it may be something i can use. Right now i
    > am setting up a ftp server which comes close to it. Of course it needs
    > to be secure too.
    >
    >

    Hi
    Use sftp then, if the user is on windows, there is winscp to copy files.
    Make sure you don't use the default port 22 change it to something
    higher than say 10000

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
    up 3 days 11:24, 2 users, load average: 1.26, 1.20, 1.25
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26


  7. #7
    Join Date
    Dec 2008
    Location
    Montgomery, AL
    Posts
    64

    Default Re: Remote Access

    Quote Originally Posted by JoergJaeger View Post
    Actually no programs. I just want to able to let my friend download something at the time i am not there.
    These programs were ok, but not really what i need. Thanks though.
    I was reading about ssh and it may be something i can use. Right now i am setting up a ftp server which comes close to it. Of course it needs to be secure too.
    If you already have ssh set up he can use that connection to transfer files. If he's on a windows box, have him get winscp (WinSCP :: Free SFTP and FTP client for Windows), if he's on a Linux box then he can set the connection up in dolphin or nautilus. If you're trying to control what he has access to, you'll need to play with file permissions.

    Here's what I do on my file server at the house (granted this is on a LAN but the principals are the same):
    - galadirel (my file server) has a directory: /srv/fileshare
    - this directory is has the group "fileshare" that all users that I want to have access are members of
    - the group permissions on the directory are set with read, write, execute, and setgid (this ensures that everything created in the directory will have the same group)
    - I created another directory /srv/fileshare/budget
    - that directory has the group "budget" of which only my wife and I are members
    - just as the fileshare directory the group has read, write, execute, and setgid. But this time I ensure that "other" has no permissions.
    - now my son has access to music stored on the file server, but not the budget

    I don't know of a good GUI way to do all that, but as long as the files I want to share are kept in the correct directories, the setgid does the rest for me.

    A word of caution, ensure that the setgid permission is only on the directory not on the files. For directories it behaves as described, for normal files it causes executables to be executed with the group permissions regardless of the permissions of the user.

  8. #8

    Default Re: Remote Access

    Quote Originally Posted by JoergJaeger View Post
    Hi, i try to give a friend of mine access to my machine over the internet.
    I know you can do it with ssh (there is a nice howto here) but i would like to have a gui access and specify what folder he can see and use.

    What would be the programs i need to do that or is there any how to for that? I was looking through some howto's but i am not really smarter know.

    Thanks for the help. A link for a how to would be ok too.
    I liked GnomeFTP on 11.2, but I'd google for FTP/SFTP GUI for Windows for programs like:
    WinSCP :: Free SFTP and FTP client for Windows

    Or he can just use his browser, ie, ftp://ftp.from.your.machine/somefolder/some_files* instead of http://.
    On your machine you would just need to start VSFTP server,.that's YaST2 | Network Services | FTP Server, add the directories, add your friend as a member of user group ftp, etc.

    You may need to open a port on your external interface and firewall to allow your friend access to your PC and FTP folders.

    I'm not sure how to setup VPN or Tunneling from his PC to your PC, so I'll leave that off for now.

    If he wants to serve files then he should install FreeSSH.

    Someone else mentioned TeamViewer which is an excellent program but it gives him complete access to your Desktop, although you can restrict his access to read-only.
    Box 1: OpenSuse 11.1/Win7 | Linux 2.6.27 Gnome | AMD 64 X2 6000+ | nVidia 8600GT | 2GB RAM
    Box 2: OpenSuse 11.2 | Linux 2.6.31 Gnome | AMD 64 3000+ | ATI X800 Pro | 1GB RAM
    Box 3: Win7 Premium Home | Intel P4 3.0Gz | ATI AIW 2006 | 2GB RAM

  9. #9

    Default Re: Remote Access

    @JoergJager

    VPN looks daunting but the examples simplify and explain the process.
    Code:
    man openvpn
    You can also configure VPN through NetworkManager.
    Recommend using FTP for usergroup.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •