I try to get local machine ip using python script. And try to open a file from another machine using machine ip. how to get.
6124
How can I find local IP addresses (i.e. 192.168.x.x or 10.0.x.x) in Python platform independently and using only the standard library?
52672
I'm new to Linux (currently running Ubuntu 10.04) and I have just finished setting up SSH access to my Linux Machine.  Currently, I have to use ssh root@x.x.x.x to connect but would much rather be able to swap the IP for the computer name (like in Windows with \\name) or a domain name (like computername.example.com). I don't really know where to start so any help would be most appreciated.  Please go slowly, as mentioned - I am still new to this.  EDIT 1 Completely forgot to mention that I am trying to connect from Windows 7 (via PuTTY) - sorry.
93159
In a multi server architecture, is it possible to find out from which machine a user logged into current machine using ssh?  For example, user1 logged into host1. From there, the user logged into host2 as sruser using ssh.  In above example, would it be possible to trace the sruser session of host2 back to user1 session in host1?  Would it be possible to get the hostname or terminal of user1 session?
16949
How do I get a remote host IP address if I don't have ping, and don't have any bind utilities like dig, nslookup, etc?  I need an answer that does not include 'install X' or 'use sidecar container'. I am looking for something that relies on nothing more than bash and the basic shell commands.
35471
How can I create a script for monitoring file transferring  including the source location and the destination location ? ( example : Test.file from /home/Desktop to /home/Documents ) .
14143
I have to run a local shell script (windows/Linux) on a remote machine. I have SSH configured on both machine A and B. My script is on machine A which will run some of my code on a remote machine, machine B. The local and remote computers can be either Windows or Unix based system. Is there a way to run do this using plink/ssh?
3312
I have scripts calling other script files but I need to get the filepath of the file that is currently running within the process.   For example, let's say I have three files. Using :   script_1.py calls script_2.py.  In turn, script_2.py calls script_3.py.    How can I get the file name and path of script_3.py, from code within script_3.py, without having to pass that information as arguments from script_2.py?  (Executing os.getcwd() returns the original starting script's filepath not the current file's.)
83284
The machine via which I'm SSHing to the remote/host machine (same network/LAN) has access to the Internet but the host doesn't.  Running updates and installing packages on the host gets quite inconvenient because then I have to start a proxy locally and then configure the remote machine to use it.  So I was wondering if there is a easier way of doing this via, maybe, SSH or something else?  I have a realization of the complexities that lie within, but was curious to know.  Using plink through Emacs (if it matters).
110258
I regularly find myself wanting to copy a file from remote terminal session to my local machine. Usually I log out of the remote session and call an scp transfer from local to copy the file from remote to local. But this feels a little long winded. I would like to transfer the file whilst logged into the remote over SSH to save time. My local machine is connected to the internet from a dynamic IP range so I'm never quite sure how to connect to it remotely. But surely, as the remote session originates from my laptop, there must be a shortcut in scp to get back to my laptop... Right?
123798
I have had no trouble getting the sockets working with localips, but once I made the code change to use public ips, I've consistently gotten java.net.ConnectException.  I am using the port 8084, which as far as I know, is not used elsewhere In the command prompt, netstat -a | grep 8084 shows: File STDIN:   TCP    user-9114eb19a8:8084    user-9114eb19a8:0      LISTENING  I have gone into my router and ensured that it is open I get my public ip using a request to   Server:  serverSocket = new ServerSocket (8084);   Client:  socket = new Socket (hostaddr, 8084); //hostaddr is a string containing my public-IP //it works when the program is run on a localnetwork and I am using my local-ips
38158
I want to spoof my internet ip on my Ubuntu 10.10 system so that I can access country specific websites. Can some one please tell me how to go about this?
74154
If I want to find out how the hostname of a remote linux machine on my LAN is, how can I achieve this given I don't have access via SSH etc.?  Probably depends if linux is part of a WINS domain I suppose.
31187
I'm trying to ftp a folder using the command line ftp client, but so far I've only been able to use 'get' to get individual files.
14213
I've got some Linux servers on my home network that I access via "hostname.local", however when using a Windows machine they can't seem to resolve this unless I go via IP address.  How do I make it so my windows machine can resolve hostname.local addresses? I know how to edit C:\Windows\System32\drivers\etc\hosts but surely there's got to be some automatic way to make Windows just find these machines?
100667
Is it possible to know the (public) IP address of a computer where TeamViewer is ready for a remote control session - without connecting to the computer?
80326
If I am logged into a Solaris server from my Windows laptop via putty using ssh, how, on the server, can I determine my Windows laptop IP or hostname?
121221
I have a web server that I want to map a drive to it. I want to do this in a .bat file. Pseudo ->   Check if a drive at an ip address has been mapped to a local drive.  If it has then progress with a reference to the drive If not map to a local drive and then progress with a reference to the drive  Is this possible and if so how can I achieve it?