Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

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

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
sudheer_tp
Asked:
sudheer_tp
2 Solutions
 
grbladesCommented:
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
 
pjedmondCommented:
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
 
jlevieCommented:
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
 
ramez_hannaCommented:
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
 
sudheer_tpAuthor Commented:
thanks a lot for all who responded.

Problem is solved
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now