02-03-2016
That worked on my Arch Linux !!
Thank you so much Jlliagre !!
10 More Discussions You Might Find Interesting
1. Programming
hi everybody and thank you for this wondefrul forum
this is my first thread posted here and i hope that i could find some help from your part (i am even sure) :D
here is the situation: i am to develop an application of remote desktop access such as vnc, vpn and especially nx
i want to develop... (0 Replies)
Discussion started by: bolboln01
0 Replies
2. Shell Programming and Scripting
Hi Experts,
I am trying to have the SSH tunnel Remote forwarding command in a shell script. I should be able to do 2 tasks, but unable to get that going.
1) I have 3 servers Server 1, Server 2, Server 3.
I have my Database running on Server 1 and my script running on Server 2 which should... (0 Replies)
Discussion started by: Scriptingglitch
0 Replies
3. UNIX for Advanced & Expert Users
Two question here, but it's only one on the protocol point of view.
If two persons use the same key to connect to a SSH server is there a risk they can decipher the other tunnel. In other terms is that less safe than if they have two separate keys.
Same question if two persons use the same user... (2 Replies)
Discussion started by: moi
2 Replies
4. UNIX for Advanced & Expert Users
I have initiated a tunnel for vncserver. now i want to stop it. is there any way except sleep option? (2 Replies)
Discussion started by: majid.merkava
2 Replies
5. Cybersecurity
Hi all,
I'm trying have an alternative way of connecting into a Corporate network. Mostly in case the VPN down as I cannot also change the security policy.
I want to expose windows RDP over ssh tunnel.
I have 3 hosts in my scenario
1- Host a : Windows 2k8 has no internet access just only an... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies
6. UNIX for Dummies Questions & Answers
I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible.
my actions:
work-machine$ ssh -L 1234:tar-machine:22 hop-machine
work-machine$ ssh -p 1234 user@127.0.0.1
- shh access on... (1 Reply)
Discussion started by: Vathau
1 Replies
7. IP Networking
I have a Java web app on machine (X) that needs to talk to an LDAP server (Y) on :636, but the LDAP server is only accessible on a particular network.
I can login to a machine (Z) on that network from X, and this machine can talk to the LDAP server on :636.
How can I tunnel so that X can... (2 Replies)
Discussion started by: spacegoose
2 Replies
8. UNIX for Advanced & Expert Users
Hi all
I have a suite of scripts that ssh to remote servers within a cluster and run some tests. This is done from a central server so that all of the test results can be captured in one location.
Problem is I now have 509 tests and the number is growing. The scripts work by establishing a... (2 Replies)
Discussion started by: steadyonabix
2 Replies
9. Proxy Server
Hello,
I have a video streaming application that utilizes a WebSocket for the server <-> client communication. My goal is to make the video streaming service available over the internet in the cases where neither the server nor client have public IPs.
One way to do this is over a VPN... (8 Replies)
Discussion started by: Vladislav
8 Replies
10. UNIX for Advanced & Expert Users
I am not clear with the part of concept of Tunneling using ssh.
ssh -f -N -L 1029 192.168.1.47:25 james@192.168.1.47
I found out that above code works for me . but didn't quite well understood how ti works and need to ask you guys some questions.
since we are using tunnel through ssh ... (2 Replies)
Discussion started by: lobsang
2 Replies
LEARN ABOUT DEBIAN
arch::inventory
Arch::Inventory(3pm) User Contributed Perl Documentation Arch::Inventory(3pm)
NAME
Arch::Inventory - class representing a tree inventory
SYNOPSIS
use Arch::Inventory qw(:category :type);
my $inv = Arch::Inventory->new; # use cwd
print Arch::Inventory->to_string($inv->get_root_entry), "
";
print $inv->get_listing;
or (most commonly):
use Arch::Tree;
my $tree = Arch::Tree->new;
my $inv = $tree->get_inventory;
print $inv->get_listing;
DESCRIPTION
Arch::Inventory generates a tree inventory.
An inventory is a tree structure of elements, each representing a single directory entry of the source tree. Each inventory entry is
described by an hash with the following fields:
category
The classification of the tree element. category can be one of TREE, SOURCE, PRECIOUS, BACKUP or JUNK.
untagged
A boolean value indicating whether the element was first classified as SOURCE but lacked an inventory id.
type
The tree element type. type can be one of FILE, DIRECTORY or SYMLINK.
path
The complete path to the tree element relative to the inventory base directory.
id The elements inventory id. May be "undef".
children
A hash of the elements direct children, idexed by their last path element.
This field exists for elements of type DIRECTORY only.
The category and type constants can be conveniently imported using the tags ":category" and ":type".
use Arch::Inventory qw(:category :type);
METHODS
The following methods are available:
new, directory, get_root_entry, get_entry, get_listing, annotate_fs, foreach, dump, to_string.
new [$dir]
Create an inventory for $dir or the current directory if $dir is not specified.
directory
Returns the inventories base directory as passed to new.
get_root_entry
Returns the inventory element for the base directory.
The root entry always has the following properties:
$root = {
category => TREE, # if {arch} exists, SOURCE otherwise
untagged => 1,
type => DIRECTORY,
path => '',
id => undef,
children => { ... },
}
get_entry $path
get_entry @path_elements
Returns the inventory element for the specified path. The path may either be given as a single string or as a list of path elements.
If the element does not exist "undef" is returned.
Using an empty or no path is equivalent to calling get_root_entry.
get_listing
Generates a textual inventory listing equivalent to the output of
tla inventory -tspbju -B --kind --ids --untagged
Note: The output order is not equivalent to tla. Instead of strict ASCII order of path names, a directory entry is always directly
followed by its child entries. Entries with the same parent entry are ASCII ordered.
annotate_fs
annotate_fs $entry
Add filesystem information to $entry or every inventory entry if none is provided. This adds the fields stat and symlink to the
annotated entries which contain the output of lstat and readlink respectively.
foreach $coderef
Execute $coderef for every inventory entry, passing the entry as $_[0].
dump
Generates a dump of the inventory structure using Data::Dumper.
to_string $inventory_element
Generates an inventory line for the inventory element as produced by tla.
BUGS
Awaiting for your reports.
AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel).
Enno Cramer (uebergeek@web.de--2003/arch-perl--devel).
SEE ALSO
For more information, see tla, Arch::Util.
perl v5.10.1 2005-10-23 Arch::Inventory(3pm)