m.kelas-karyawan-sebi.prestasi.web.id Layanan Informasi 17 Jam
Telp/Fax : 021-8762002, 8762003, 8762004, 87912360
HP/SMS : 081 1110 4824 27, 0812 9526 2009, 08523 1234 000
WhatsApp : 0817 0816 486, 0812 9526 2009
email : _Hubungi Kami__ silahkan klik
Chatting dengan Staf :
ggkarir.com
ggiklan.com
Pilih Bahasa :   ID   EN   Permintaan Katalog / Brosur (GRATIS via POS)   Ensiklopedia Lowongan Karir Iklan

   
Cari di Apache Ant 
    Apache Ant Manual

    Sebelumnya  (Sshexec) (Subant)  Berikutnya    
Apache Ant Tasks

Sshsession

SSHSESSION

Description

since Apache Ant 1.8.0

A Task which establishes an SSH connection with a remote machinerunning SSH daemon, optionally establishes any number of local orremote tunnels over that connection, then executes any nested tasksbefore taking down the connection.

Note: This task depends on external libraries not includedin the Antdistribution. See LibraryDependencies for more information. This task has been tested withjsch-0.1.33 and above and won't work with versions of jsch earlierthan 0.1.28.

See also the sshexecand scp tasks

Parameters

Attribute Description Required
host The hostname or IP address of the remote host to which you wish to connect. Yes
username The username on the remote host to which you are connecting. Yes
port The port to connect to on the remote host. No, defaults to 22.
localtunnels A comma-delimited list of colon-delimited lport:rhost:rport triplets defining local port forwarding.
If nested localtunnel elements are also provided, both sets of tunnels will be established.
No
remotetunnels A comma-delimited list of colon-delimited rport:lhost:lport triplets defining remote port forwarding.
If nested remotetunnel elements are also provided, both sets of tunnels will be established.
No
trust This trusts all unknown hosts if set to yes/true.
Note If you set this to false (the default), the host you connect to must be listed in your knownhosts file, this also implies that the file exists.
No, defaults to No.
knownhosts This sets the known hosts file to use to validate the identity of the remote host.This must be a SSH2 format file. SSH1 format is not supported. No, defaults to ${user.home}/.ssh/known_hosts.
failonerror Whether to halt the build if the command does not complete successfully. No; defaults to true.
password The password. Not if you are using key based authentication or the password has been given in the file or todir attribute.
keyfile Location of the file holding the private key. Yes, if you are using key based authentication.
passphrase Passphrase for your private key. No, defaults to an empty string.
timeout Give up if the connection cannot be established within the specified time (given in milliseconds). Defaults to 0 which means "wait forever". No

Parameters specified as nested elements

localtunnel

Optionally, any number of localtunnel elements can be used todefine local port forwarding over the SSH connection. If thelocaltunnels parameter was also specified, both sets of tunnels willbe established.

Attribute Description Required
lport The number of the local port to be forwarded. Yes
rhost The hostname or IP address of the remote host to which the local port should be forwarded. Yes
rport The number of the port on the remote host to which the local port should be forwarded. Yes

remotetunnel

Optionally, any number of remotetunnel elements can be used todefine remote port forwarding over the SSH connection. If theremotetunnels parameter was also specified, both sets of tunnels willbe established.

Attribute Description Required
rport The number of the remote port to be forwarded. Yes
lhost The hostname or IP address of the local host to which the remote port should be forwarded. Yes
lport The number of the port on the local host to which the remote port should be forwarded. Yes

sequential

The sequential element is a required parameter. It is a containerfor nested Tasks which are to be executed once the SSH connection isestablished and all local and/or remote tunnels established.

Examples

Connect to a remote machine using password authentication,forward the local cvs port to the remote host, and execute a cvscommand locally, which can use the tunnel.

  <sshsession host="somehost"    username="dude"    password="yo"    localtunnels="2401:localhost:2401"  >    <sequential>      <cvs  command="update ${cvs.parms} ${module}"        cvsRoot="${cvs.root}"        dest="${local.root}"        failonerror="true"      />    </sequential>  </sshsession>

Do the same thing using nested localtunnel element.

  <sshsession host="somehost"    username="dude"    password="yo"  >    <localtunnel lport="2401" rhost="localhost" rport="2401"/>    <sequential>      <cvs  command="update ${cvs.parms} ${module}"        cvsRoot="${cvs.root}"        dest="${local.root}"        failonerror="true"    />    </sequential>  </sshsession>

Connect to a remote machine using key authentication, forwardport 1080 to port 80 of an intranet server which is not directlyaccessible, then run a get task using that tunnel.

  <sshsession host="somehost"  username="dude"  keyfile="${user.home}/.ssh/id_dsa"  passphrase="yo its a secret"/>    <LocalTunnel lport="1080" rhost="intranet.mycomp.com" rport="80"/>    <sequential>      <get src="http://localhost:1080/somefile" dest="temp/somefile"/>    </sequential>  </sshsession>

Security Note: Hard coding passwords orpassphrases and/or usernames in sshsession task can be a serioussecurity hole. Consider using variable substitution and include thepassword on the command line. For example:

  <sshsession host="somehost"  username="${username}"  password="${password}"  localtunnels="2401:localhost:2401">    <sequential>      <sometask/>    </sequential>  </sshsession>
Invoking ant with the following command line:
    ant -Dusername=me -Dpassword=mypassword target1 target2
Is slightly better, but the username/password is exposed to all userson an Unix system (via the ps command). The best approach is to usethe<input> task and/or retrieve the password from a (secured).properties file.

    Sebelumnya  (Sshexec) (Subant)  Berikutnya    


S1 Agroteknologi (Agroindustri, Teknologi Industri Pertanian)StatistikIndeks KorupsiJadwal Sholat & ImsyakPartaiWeb Kota/Kab.PTAShell



Tags: Sshsession, Apache Ant Manual, 2242, Apache Ant Tasks Sshsession SSHSESSION Description since Apache Ant 1.8.0 A Task which establishes an SSH connection with a remote machine running SSH daemon optionally establishes any number of local or remote tunnels over that connection then executes any nested tasks before taking down the connection, Note: This task depends on external libraries not included in the Ant distribution, See Libra, Sshsession, Bahasa Indonesia, Contoh Instruksi, Tutorial, Referensi, Buku, Petunjuk m.kelas karyawan sebi, prestasi.web.id
 Tips & Trik Psikotes    Pendaftaran Online    Beragam Perdebatan    Perkuliahan Blended di 112 PTS Terbaik    Buku Manual    Kelas Tanpa Uang    Bursa Karir    Program Kuliah Paralel    Kumpulan Ilmu Bebas    Program Pascasarjana (Magister, S2)    Permintaan Keringanan Biaya Pendidikan    Program Perkuliahan Reguler Sore/Malam    Download Katalog
Penyelenggara
Perkuliahan Pegawai (Hybrid)

TUJUAN
SELAMAT DATANG
PENERIMAAN MHS BARU
BIAYA PENDIDIKAN
JADWAL PELAJARAN & DOSEN
Kumpulan Web Perkuliahan Reguler Sore/Malam
Kumpulan Web Utama
Kumpulan Web Kuliah Reguler
Kumpulan Web Program Magister (Pascasarjana, S2)
Kumpulan Web Kuliah Karyawan

 Bermacam2 Pariwara    Waktu Sholat    Quran Online    Tips & Trik Psikotes
Manfaat Sirsak

Merawat tanaman / tumbuhan Mahkota Dewa, Kandungan zat gizi Ranti (Lenca), Menanam benih / biji Kacang Gude di sekitar rumah, dsb.

Infokan ke Rekan
Nama Anda

Email Anda

Email Rekan 1

Email Rekan 2 (tidak wajib)

Email Rekan 3 (tidak wajib)
⚙ harus diisi dengan benar

Link Khusus ke
PTS Terakreditasi & Terkemuka
Penyelenggara Program S1, D3, S2

(silakan klik di bawah ini)
STMIKMJ - STMIKMJ Jakarta
IGI - STIE IGI Jakarta
STTM Cileungsi - STIE Cileungsi
STIE WP - STIE Widya Persada
UPRI - UPRI Makassar
STEI - STEI Yogyakarta
STIE - Hidayatullah Depok
STEBI - Bina Essa
P2KKMPoliteknik Aisyiyah

P2KKMUMPTB Lampung
P2KKMSTIT Al-Hikmah Lampung

P2KKMUniv.Amir Hamzah
P2KKMUSM Indonesia
P2KKMUniv. Al-Azhar Medan
P2KKMUniversitas Deli Sumatera

P2KKMUniv. Muh. Palangkaraya

P2KKMSTIT Nur Ahadiyah

P2KKMUniv. Nahd. Ulama Kalbar

P2KKMUniv. Nahd. Ulama Kaltim

Langsa -- Aceh :
P2KKMUSCND Langsa

P2KKMUniv. Ubudiyah Indonesia

P2KKMSTIT Hidayatullah
P2KKMIAI Abdullah Said

P2KKMUniv. Pejuang Rep. Ind.
P2KKMUniv. Teknologi Sulawesi
P2KKMUniv. Cokroaminoto Makassar
P2KKMITeKes Tri Tunas Nasional

P2KKMUniv. Patria Artha

P2KKMUniv. Nusantara, Manado
P2KKMSTIE Pioneer Manado
P2KKMUniversitas Parna Raya Manado

P2KKMUniversitas Boyolali

P2KKMUniversitas Duta Bangsa
P2KKMPoliteknik Harapan Bangsa Surakarta
P2KKMPoliteknik Santo Paulus Surakarta

P2KKMUNIBABWI

P2KKMUniv. Muhammadiyah Smrg
P2KKMUNDARIS Semarang
P2KKMUNAKI Semarang
P2KKMUPGRIS Semarang
P2KKMUniv. IVET Semarang
P2KKMSTIE Cendekia

P2KKMUNUGHA Cilacap

P2KKMUniv. Muhammadiyah Sby
P2KKMSTIE Pemuda Sby
P2KKMIKIP Widya Darma Sby
P2KKMSTIE Widya Darma Sby
P2KKMSTIE ABI Surabaya
P2KKMUNUSA Surabaya
P2KKMUniv. Widya Kartika
P2KKMSTAI Al Akbar Surabaya

P2KKMUniv. Kahuripan Kediri

P2KKMSTAI Muhammadiyah Tulungagung

P2KKMSTIKI Malang
P2KKMSTIE INDOCAKTI
P2KKMSTIE Al Rifa'ie

P2KKMSTIA Bayuangga
P2KKMSTAI Muhammadiyah Probolinggo

P2KKMUniversitas Moch. Sroedji

P2KKMSTEI JOGJA - STEI Yogyakarta
P2KKMSTIE Mitra Indonesia
P2KKMSTiPsi
P2KKMSTAI Terpadu Yogyakarta
P2KKMUniversitas Mahakarya Asia

P2KKMSTIE Hidayatullah
P2KKMSTIE - GICI A
P2KKMSTIE - GICI A


P2KKMSTMIK-MJ - STMIK Muh. Jkt.
P2KKMUNKRIS - Krisnadwipayana
P2KKMSTT Bina Tunggal - Bekasi
P2KKMSTT Duta Bangsa - Bekasi
P2KKMSTIE - GICI C
P2KKMSTEBI Global Mulia
P2KKMUniversitas Pelita Bangsa
P2KKMUniversitas Indonesia Mandiri
P2KKMPoliteknik Bhakti Kartini

P2KKMSTMIK-STIKOM Bali
P2KKMPOLNAS Denpasar
P2KKMUniversitas Bali Dwipa
P2KKMPoltek Ganesha Guru Singaraja

P2KKMSTIE Ganesha
P2KKMSTT Yuppentek
P2KKMITB Ahmad Dahlan
P2KKMUniv. Tangerang Raya
P2KKMSTIA Maulana Yusuf
P2KKMSTIH Gunung Jati
P2KKMSTIE PPI Balaraja

P2KKMUNSUB - Universitas Subang

P2KKMSTIT Al-Hidayah Tasikmalaya

P2KKMSTIE Walisongo
P2KKMSTT Walisongo

P2KKMUniv. Islam Al-Ihya

P2KKMSTT Mandala, Bandung
P2KKMSTT Bandung
P2KKMSTIE Gema Widya Bangsa
P2KKMUniversitas Insan Cendekia Mandiri
P2KKMUniversitas Halim Sanusi
P2KKMUniversitas Persatuan Islam
P2KKMSTEBI Bina Essa

P2KKMSTT Dr. Khez Muttaqien

P2KKMIMWI Sukabumi

P2KKMSTIH Dharma Andigha
P2KKMUniversitas Teknologi Nusnatara

P2KKMSTT Muhammadiyah Cileungsi

P2KKMISTA - Institut ST Al Kamal
P2KKMSTIE IGI - Inter. Golden Inst.
P2KKM Univ. Mpu Tantular B

P2KKMU M J - Univ. Muh. Jkt

P2KKMFISIP UMJ - Univ. Muh. Jkt.
P2KKMFTan UMJ - Agroteknologi
P2KKMSTIE Trianandra Jakarta
P2KKMSTIE - GICI B
P2KKMSTIE Ganesha
P2KKMSTIMAIMMI Jakarta
P2KKMTanri Abeng University

P2KKMUMHT - Univ. MH. Thamrin
P2KKMFE UMHT - FE MH. Thamrin
P2KKMFASILKOM UMHT
P2KKMUNKRIS - Krisnadwipayana
P2KKMITBU - Inst. Tek. Budi Utomo
P2KKMSTIE Trianandra Jakarta
P2KKMSTMIK Muh. Jkt - Matraman
P2KKMSTMIK Muh. Jkt - Ciracas
P2KKMUniv. Mpu Tantular A
P2KKMSTT Sapta Taruna
P2KKMIAI Al-Ghurabaa Jakarta

P2KKMISIF - Institut Studi Islam Fahmina

P2KKMSTEBI Global Mulia

P2KKMSTIKes Sapta Bakti
P2KKMSTAI Miftahul ulum

P2KKMPoltekkes Kerta Cendekia

P2KKMPelita Raya Institute


KPT Konsultan Pendidikan Tinggi

Web Artikel
Sepakbola th 1930-sekarang
Ensiklopedi Bebas

1. Universitas Wijaya Kusuma Surabaya - Universitas Wijaya Kusuma Surabaya - Kampus : Jl. Dukuh Kupang XXV No.54, Dukuh Kupang, Kec. Dukuhpakis, Surabaya, Jawa Timur 60225
2. UWIKA Surabaya - Universitas Widya Kartika Surabaya - Kampus UWIKA : Jl. Sutorejo Prima Utara II No.1, Kalisari, Kec. Mulyorejo, Kota Surabaya, Jawa Timur 60112
3. USM Indonesia Medan - Universitas Sari Mutiara Indonesia Medan - Kampus USM INDONESIA : Jalan Kapten Muslim No. 79, Medan
4. UNUSIDA - Universitas Nahdlatul Ulama Sidoarjo - Kampus UNUSIDA :Jl. Monginsidi No.A23, Sidoklumpuk, Sidokumpul, Kec. Sidoarjo, Kabupaten Sidoarjo, Jawa Timur 61218
5. UNUGHA Cilacap - Universitas Nahdlatul Ulama Al Ghazali Cilacap - Kampus UNUGHA : Jl. Kemerdekaan Barat No 17 Kesugihan Kidul Cilacap Jawa Tengah
6. UNU Kaltim Samarinda - Universitas Nahdlatul Ulama Kalimantan Timur Samarinda - Kampus UNU KALTIM : Jl. KH. Harun Nafsi Gg. Dharma, Kel. Rapak Dalam Kec. Loa Janan Ilir Samarinda
p2k.stebibinaessa.ac.id  |  isif.web.id  |  stieabi.ac.id  |  andrafarm.co.id  |  sebi.web.id  |  p2k.nusamandiri.ac.id  |  uyi.web.id  |  unmkramat.web.id  |  unmjatiwaringin.web.id  |  s2-uwks.web.id