Solved

How to connect from one linux M/C to another linux M/C useing /net command

Posted on 2004-08-20
7
253 Views
Last Modified: 2010-04-20
Hi All,

I wanted to connect to linux server in my office from my linux machine.
ftp and telnet is not allow to user, they r given me the command

/net/servername/foldername

to connect to that server. But when I execute, it gives an error

" bash: /net/servername/foldername : no such file or directory."

what could be the problem and how to solve it.

Thanks in advance
Regards
Sudheer
0
Comment
Question by:sudheer_tp
7 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 11853379
Hi sudheer_tp,
> /net/servername/foldername
This is meaningless.

So ftp and telnet are not permitted?
What about ssh?
ssh is very secure and you can transfer files across it using the scp command.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 11855972
Hmm - do they imply a shared samba folder?

Try:

smbclient -L servername

servername can be an ip address. This will give you a list of shares available that you can connect to and share. You will then need to connect to it, but this is usually not available to anyone other than root.

Try:

ssh servername and see if you get a login prompt. If you do, then you can use the command scp in order to transfer data between the systems.

Use:

man ssh
man scp
man smbclient

to find out more.

HTH:)

0
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
ID: 11856787
Usage of /net/servername/folder presumes that the local machine has the am-utils package installed and that the amd service is enabled and running. That mechanism is an automount (via the /net amd map) of an NFS resource. Neat stuff really...
0
 
LVL 1

Assisted Solution

by:ramez_hanna
ramez_hanna earned 125 total points
ID: 11879740
the path given is probably a network share that will be mounted upon your login so just do a #cd /net/servername/folder that is if you are logging to the linux server
what is the login authority? samba? NIS? or just local

if you login locally then this could be a samba share or a NFS you will have to mount the share
if you are using fedora or redhat you can just do in nautilus smb://servername/folder/ and you'll be able to browse the samba share
or simply use the mount command for both NFS or samba shares
"#man mount" and you'll find what you need to do it it's easy
0
 

Author Comment

by:sudheer_tp
ID: 12079131
thanks a lot for all who responded.

Problem is solved
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 61
php ssh2_scp_send 1 60
Python variable _ manually assigned 9 80
Red Hat 7 Linux on Azure cannot run a command as root 22 41
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question