07-03-2015
The solution I described in my first post works from the same network with user D having a different port configuration.
Then again, if you want to connect to him from outside of the network, you'll have to configure port redirection in your router.
Let's say user D has lan IP : 192.168.0.10, you'd have to configure a port redirection so incoming requests get redirected to the relevent port at this address.
Additionnally, you can configure your internal ssh server to listen on multiple port numbers, so you can still use port 22 internally.
In /etc/ssh/sshd_config you'd have something like :
Port 22
Port 49952
Meaning you can still use port 22 internally and use the second one to connect to this server from the outside after setting up the right port redirection in your router.
Last edited by vincent72; 07-03-2015 at 10:18 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to determing how long it will take to transfer 384 Gb of data across a 100 Mb full ethernet. If I am correct, I come up with 36 Gb per hour. Surely that is not correct. I assumed 100 megabit per second is 10 megabyte per second, which is 600 megabytes per minute and 36 GB per hour.... (3 Replies)
Discussion started by: 98_1LE
3 Replies
2. UNIX for Advanced & Expert Users
Hi again,
first of all thanks for you help on my last problem, the problem is solved now.
But I have many problem :)
This time, I transfered a big file, ~3,5 GByte, with ftp from a Sun machine to a linux box, RedHat 7.3. But the file recieved on the Linux Box is corrupt, with smaller files... (12 Replies)
Discussion started by: malcom
12 Replies
3. AIX
Hi,
I have to transfer data from our production site to DR site(another city). I am using FTP for transfering data. But I am unable to get the same data transfer rate on AIX machines, one I am geting on windows machines. I want to know, is there any constraint on data transfer using FTP on AIX... (2 Replies)
Discussion started by: system-admin
2 Replies
4. SCO
dear sir,
pls. can you help me ? , my os is unix sco 5.0.4 and ,server dat derive (1,4gb)
not working, now i want to transfer my server data in other machine (unix/other possible) by serial port/other port comminication.
thanks
pankaj raval (2 Replies)
Discussion started by: pankajbraval
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm relatively new to shell scripting, Ive worked on a few basic scripts and used most of the unix commands in the simplest of situations. But I am now faced with a task that's seems to be beyond me.
I have a file with some data in the form of rows and columns :
123 4536 abcd4 677 bbb... (1 Reply)
Discussion started by: inquisitive101
1 Replies
6. Solaris
We have a data on the disk that was copied from HP N4000 running HPUX 11.11 and it was created with vxfs version 4.
We need to transfer this data to Sun server, how might this be done? (2 Replies)
Discussion started by: Kjons76
2 Replies
7. UNIX for Dummies Questions & Answers
i have two excel sheets with cpu uasge and memory usage in the follwing format:
sheet 1:
22,33
sheet 2:
55,66
i need to display in the below format:
servername cpu mem
ser1 22 33
ser2 55 66
am using UNIX os.
can anyone help me... (2 Replies)
Discussion started by: arunmanas
2 Replies
8. Windows & DOS: Issues & Discussions
Hello -
My first post here. I did some looking around; wasn't sure where to jump in or if something like this has been covered.
I have a DEC 2000 Alpha that was turned off probably 6 years ago once I had made the transition of programs and most files to the desktop PC. I have the idea... (4 Replies)
Discussion started by: KSchrader
4 Replies
9. Red Hat
1 TB of data needs to read through 4 I/O channesl, each channels supports - 100 MB/s, What is average time taken to read the data ?
Please give the formula for my understanding (2 Replies)
Discussion started by: Srini.rk1983
2 Replies
transfer::data::destination(n) Data transfer facilities transfer::data::destination(n)
__________________________________________________________________________________________________________________________________________________
NAME
transfer::data::destination - Data destination
SYNOPSIS
package require Tcl 8.4
package require snit ?1.0?
package require transfer::data::destination ?0.1?
transfer::data::destination object ?options...?
object destroy
object put chunk
object done
object valid msgvar
object receive channel done
_________________________________________________________________
DESCRIPTION
This package provides objects mainly describing the destination of a data transfer. They are also able to initiate the reception of infor-
mation from a channel into the described destination.
API
transfer::data::destination object ?options...?
This command creates and configures a new destination object. The fully qualified name of the object command is returned as the
result of the command.
The recognized options are listed below. It should be noted that all are semi-exclusive, each specifying a different type of desti-
nation and associated information. If these options are specified more than once then the last option specified is used to actually
configure the object.
-channel handle
This option specifies that the destination of the data is a channel, and its associated argument is the handle of the channel
to write the received data to.
-file path
This option specifies that the destination of the data is a file, and its associated argument is the path of the file to
write the received data to.
-variable varname
This option specifies that the destination of the data is a variable, and its associated argument contains the name of the
variable to write the received data to. The variable is assumed to be global or namespaced, anchored at the global namespace.
object destroy
This method destroys the object. Doing so while the object is busy with the reception of information from a channel will cause
errors later on, when the reception completes and tries to access the now missing data structures of the destroyed object.
object put chunk
The main receptor method. Saves the received chunk of data into the configured destination. It has to be called for each piece of
data received.
object done
The secondary receptor method. Finalizes the receiver. It has to be called when the receiving channel signals EOF. Afterward neither
itself nor method put can be called anymore.
object valid msgvar
This method checks the configuration of the object for validity. It returns a boolean flag as result, whose value is True if the
object is valid, and False otherwise. In the latter case the variable whose name is stored in msgvar is set to an error message
describing the problem found with the configuration. Otherwise this variable is not touched.
object receive channel done
This method initiates the reception of data from the specified channel. The received data will be stored into the configured desti-
nation, via calls to the methods put and done. When the reception completes the command prefix done is invoked, with the number of
received characters appended to it as the sole additional argument.
KEYWORDS
channel, copy, data destination, transfer
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
transfer 0.1 transfer::data::destination(n)