Results 1 to 9 of 9

Thread: Access work PC from home?

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256

    Access work PC from home?

    At work I setup a fileserver that all my students can login to and save/print their files. My students and I would like to access this server from home.

    I'll be using my hdinstalled PCs at home, but my students will probably use a liveCD I burn for them. If I give that PC (fileserver at work) a static IP so I can access it from off campus, am I likely to run into any problems? If I setup ssh on the work PC, can I use fish:// from home in Konqueror to acces my work files from home? Has anyone done this, is there a better way?

    TIA,
    AJG

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    sftp? it may be slightly basic but is extremly fast to setup. just make the crypt-keys and start the sshd.
    i have this script (on a floppy) to generate my keys in knoppix, that is the cdvariant.
    i use a Swedish keyboard so it sets that aswell, you may edit as you wish.

    Code:
    loadkeys se-latin1.kmap.gz; ssh-keygen -t rsa -f /etc/ssh/ssh_host_key; ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key; ssh-keygen -t rsa -f /etc/ssh/ssh_host_dsa_key; sshd; passwd knoppix
    hope it helps
    OErjan

  3. #3
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    16

    help

    ok, i would like to do this as well but i am really lost about it... i am running xp on home pc which is where i would like to serve the files with dsl connection and get to them with linux over the net..

    i do not understand what ur script does or how to set up the file share

    sorry such a noob

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OK, I've never used scp. IIRC, I'm using KNOPPIX hdinstalled at home and at school. My students will likely be using a liveCD at home to access the hdinstall at school.

    TIA,
    AJG

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    scp, sftp and the rest are acessed in console by typing for sftp:
    say.
    Code:
    sftp al_bundy@127.0.0.1
    now you can use the comand "get" and "put" to do just that say :
    get shoppinglist.txt
    For more comands... just hit ? inside sftp.

    redeagle
    my script just generates the encryption keys needed for sshd to run with encryption, only needed once on a hdd install (im lazy, just wrote the script to avoid typing).

    sshd is not easy to get going on XP AFIK.
    acessing FROM XP? that works, just install EDIT sorry, somehow the link is remade into knoppix.net. oh well here is the right one http://www.chiark.greenend.org.uk/~sgtatham/putty/ putty /EDIT and type sftp...

    If you can, put a linuxbox where you store the files you want to acess (a knoppixcd would work, i have done that several times (50+times).
    even with the files on your regular XP hdd you should get read acess to your hdd.

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Oh, OK, I meant I never used sftp. I've used scp in a shell and found it a lot more complicated to use than fish in konqueror.

    Using fish, I need only setup sshd. To use sftp, how do I set up an ftp server daemon - do I have to?

    This will work from off-campus (internet + static IP) just like it does on-campus (intranet + DHCP)? I've done scp and fish on-campus without static IPs.

    BTW, switching my on-campus file server to static IP won't affect my students loging into it on-campus using an X client and kdm (as they do now on DHCP - no static IPs) will it?

    TIA,
    AJG

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    sftp is a part of ssh, so running sshd will automatically give you sftp .
    happy surfing.
    i do not know, i am not a networking guru, just a mere user. i have both static and dhcp in my home network and things work well, aslong as i have the right ip forwarded from my router or server (okok a p1 133Mhz is not much of a server but...).

  8. #8
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    16

    oe

    i followed link but did not see anything putty, i have a gigafast router, wifi, if that helps, if i understand u i can share files on one of the windows machines by just booting to the knoppix and ftp into if from afar and have access the the fat32 or ntfs hd partitions.. but im not sure about the port forwarding thing or if i am right and what putty is, the link took me to knoppix home page and did not see anything like that there

    i appreciate ur help it is great to see people helping eachother, nice thing about linux i think, i have allot to learn, we are using linux 9 at work it is allot to learn

  9. #9
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    Putty is a way to allow a computer running windows to access a lunux/unix box with ssh, sftp...
    yes you can use knoppix to run sshd on your home computer, as you probably know you have access to your disks in knoppix, but only read access if i remember correctly.
    just boot knoppix, generate the keys and start sshd. now you need to know your ip, and possibly forward port 22 to the desird computer on the internal network..

    to be more precise on how to forward the port it would help to know model, there are some 12 different from gigafast (address for manuals is here, thanks google http://www.gigafast.com/Support/wirelessSupport.htm ). there should be a good guide in the manual, if not ask further (i found something around page 40 in one of the manuals so...) btw. it is usually port 22 that is ssh,

    EDIT here is the correct Putty link
    http://www.chiark.greenend.org.uk/~sgtatham/putty
    /EDIT

Similar Threads

  1. Accessing home PC from work?
    By A. Jorge Garcia in forum General Support
    Replies: 12
    Last Post: 05-25-2005, 03:58 PM
  2. Trying to fix Win XP Home mess w/NTFS write access (long)
    By frugalyankee in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 02-09-2005, 03:48 AM
  3. Help, problems starting KDE: No Write Access /home/......
    By Garibaldi in forum General Support
    Replies: 1
    Last Post: 09-11-2004, 04:27 PM
  4. Cannot access hd after installing persistent home 0.4
    By Civil Eng in forum General Support
    Replies: 1
    Last Post: 03-18-2003, 01:53 PM
  5. Persistent Home and HD access
    By Knewbie in forum General Support
    Replies: 16
    Last Post: 02-06-2003, 07:43 AM

Posting Permissions

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


Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch picture

Juniper Networks EX2300-C-12T Compact 12-Port EX2300-C Series Ethernet Switch

$300.00



Juniper Networks EX4400-48MP 48 port 5GbE + 12 port 10 Gigabit PoE++ Switch -NEW picture

Juniper Networks EX4400-48MP 48 port 5GbE + 12 port 10 Gigabit PoE++ Switch -NEW

$1200.00



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$135.00



Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture

Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord

$53.99



Juniper EX4300-48MP Multigigabit (1/2.5/5/10Gb) PoE++ Ethernet Switch picture

Juniper EX4300-48MP Multigigabit (1/2.5/5/10Gb) PoE++ Ethernet Switch

$1100.00



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$59.95



Juniper Networks SRX320-POE 6-Port Service Gateway Security Appliance Tested picture

Juniper Networks SRX320-POE 6-Port Service Gateway Security Appliance Tested

$149.99



Juniper Networks EX2200-C-12P-2G Gigabit Ethernet Managed Switch picture

Juniper Networks EX2200-C-12P-2G Gigabit Ethernet Managed Switch

$79.99



Juniper EX4300-48T-AFI 48x 1GB RJ-45 4x 40GB QSFP+ Switch - Same Day Shipping picture

Juniper EX4300-48T-AFI 48x 1GB RJ-45 4x 40GB QSFP+ Switch - Same Day Shipping

$189.95



Juniper Networks SRX220 8-Port Gigabit Services Gateway Security Appliance picture

Juniper Networks SRX220 8-Port Gigabit Services Gateway Security Appliance

$45.00