若是希望能夠透過 SSH 工具,在不Key-in 登入密碼方式,從服務器 A 登入至服務器 B,可透過下圖方式,事先將服務器 A 上用戶公開金鑰,告知服務器 B 執行帳戶,同意來自服務器 A的用戶登入操作,則可以使服務器在無登入密碼,從 Server A 登入至 Server B
如何產生 id_rsa.pub
> ssh-keygen
一路 Enter 下一步,接著就會產生 ~/.ssh/ 目錄,及兩個檔案
~/.ssh/id_rsa
~/.ssh/id_rsa.pub

function initialize()
{
var mapOptions =
{
zoom: 16,
center: mapCenterSite,
//TYPE: HYBRID, ROADMAP, SATELLITE, TERRAIN
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
google.maps.event.addDomListener( map, 'click', function(event)
{
document.getElementById('divImageFile').style.visibility ='hidden';
});
initMarkers(); // 客製化標籤(略)
drawLine(map); // 客製化路線(略)
}
/*
* 宣告 GoogleMap 路徑座標陣列
*/
arrayLatLng =
[
new google.maps.LatLng( x, y),
new google.maps.LatLng( endPos_x, endPos_y)
];
/*
* 利用 Polyline 將該路徑座標進行人工繪製
*/
LinePath_current = new google.maps.Polyline({
path: arrayLatLng,
geodesic: true,
strokeColor: '#019D54',
strokeOpacity: 1.0,
strokeWeight: 4
});
LinePath_current.setMap(map);
class DylanHouse
{
String message = "DylanHouse Welcome";
public void printMessage()
{
System.out.println(message);
}
/* Bloger CodeStyle Example
http://pydoing.blogspot.com/
檔名:DylanHouse.java
功能:簡單的 Java 範例
作者:Dylan
時間:西元 2014 年 7 月 */
}
class DylanHouse
{
String message = "DylanHouse Welcome";
public void printMessage()
{
System.out.println(message);
}
}
/* Bloger CodeStyle Example
http://pydoing.blogspot.com/
檔名:DylanHouse.java
功能:簡單的 Java 範例
作者:Dylan
時間:西元 2014 年 7 月 */